/* Windows 95/98 Retro Style Contact Form */

.retro-window {
        background-color: #c0c0c0 !important;
    width: 580px;
    border-top: 2px solid #dfdfdf !important;
    border-left: 2px solid #dfdfdf !important;
    border-right: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
    padding: 2px;
    
    position: relative;
    margin: 20px auto;
}

.retro-titlebar {
    background: #0000ff !important;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 18px;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    margin-bottom: 20px;
}

.retro-title {
    font-size: 18px;
}

.retro-close {
    background-color: #c0c0c0 !important;
    color: #000000 !important;
    border-top: 1px solid #dfdfdf !important;
    border-left: 1px solid #dfdfdf !important;
    border-right: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    width: 20px;
    height: 18px;
    padding: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-family: sans-serif !important;
    line-height: 1;
}

.retro-close:hover {
    background-color: #c0c0c0 !important;
    color: #000000 !important;
}

.retro-close:active {
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #dfdfdf !important;
    border-bottom: 1px solid #dfdfdf !important;
}

.retro-content {
    display: flex;
    padding: 0 20px 20px 20px;
}

.retro-icon {
    width: 120px;
    padding-top: 10px;
    text-align: center;
}

.retro-icon img {
    width: 90px;
    height: auto;
}

.retro-form {
    flex-grow: 1;
}

.retro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 15px;
}

.retro-form label {
    display: block;
    color: #0000ff !important;
   
    font-size: 18px !important;
    margin-bottom: 4px;
}

.retro-form input,
.retro-form textarea {
    width: 100% !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border-top: 2px solid #404040 !important;
    border-left: 2px solid #404040 !important;
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    padding: 2px 4px !important;
    box-sizing: border-box;
    font-family: inherit !important;
    font-size: 16px !important;
    outline: none;
}

.retro-form input:focus,
.retro-form textarea:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-top: 2px solid #404040 !important;
    border-left: 2px solid #404040 !important;
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.retro-full-width {
    grid-column: span 2;
}

.retro-form textarea {
    height: 120px;
    resize: none;
}

.retro-button-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.retro-button {
    background-color: #c0c0c0 !important;
    color: #0000ff !important;
    font-family: "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: bold;
    padding: 6px 25px !important;
    border-top: 2px solid #fff !important;
    border-left: 2px solid #fff !important;
    border-right: 2px solid #404040 !important;
    border-bottom: 2px solid #404040 !important;
    cursor: pointer;
}

.retro-button:hover {
    background-color: #c0c0c0 !important;
    color: #0000ff !important;
}

.retro-button:active {
    border-top: 2px solid #404040 !important;
    border-left: 2px solid #404040 !important;
    border-right: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
    transform: translate(1px, 1px);
}

.retro-button:disabled {
    color: #808080 !important;
    cursor: not-allowed;
}

.retro-message {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 13px;
}

.retro-message.success {
    background-color: #90EE90 !important;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    color: #006400 !important;
}

.retro-message.error {
    background-color: #FFB6C1 !important;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    color: #8B0000 !important;
}

/* Responsive adjustments */
@media (max-width: 620px) {
    .retro-window {
        width: auto;
    }

    .retro-content {
        flex-direction: column;
    }

    .retro-icon {
        display: none;
    }

    .retro-form-grid {
        grid-template-columns: 1fr;
    }

    .retro-full-width {
        grid-column: span 1;
    }
}
