/* Agency Portal CSS Styles */

body {
    background-color: #FFFFFF;
    background-image: none;
    color: #222222;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    margin-top: 0;
}

.landing-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.landing-title {
    font-family: "Noiche", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    // margin-bottom: 30px;
    text-align: center;
}

.button-grid {
    display: grid;
    // grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.landing-button {
    padding: 20px;
    // background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background: linear-gradient(135deg, #005a9e 0%, #77E8D2 50%);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
    // align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.landing-button:hover {
    // background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    // background: linear-gradient(135deg, #4A3F4D 0%, #4A3F4D 100%);
    background: linear-gradient(135deg, #106ebe 0%, #005a9e 100%);
    color: #ffffff;
    border-color: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    text-decoration: none;
}

.landing-button .button-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.landing-button .button-description {
    font-size: 14px;
    opacity: 0.8;
}

.welcome-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #495057;
}

.panel {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.panel legend {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    background: #ffffff;
    padding: 5px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    margin-left: 20px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    // background: #6c757d;
    background: linear-gradient(135deg, #106ebe 0%, #005a9e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.back-button:hover {
    // background: #5a6268;
    background: linear-gradient(135deg, #005a9e 0%, #77E8D2 50%);
    color: #ffffff;
    text-decoration: none;
}

/* Override for AgencyHome button hover */
.agency-home .landing-button:hover {
    // background: linear-gradient(135deg, #4A3F4D 0%, #4A3F4D 100%);
    background: linear-gradient(135deg, #106ebe 0%, #005a9e 100%);
    border-color: #4A3F4D;
    box-shadow: 0 4px 12px rgba(74, 63, 77, 0.3);
}

@media (max-width: 768px) {
/* @media (max-width: 600px) { */
        .button-grid {
        grid-template-columns: 1fr;
    }
    .landing-container {
        margin: 10px;
        padding: 15px;
    }
    .quote-form {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* BeginQuote.jsp specific styles */
.quote-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background-color: #ffffff;
    color: #2c3e50;
    transition: border-color 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #4A3F4D;
    box-shadow: 0 0 0 3px rgba(74, 63, 77, 0.1);
}

.quote-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    // background: linear-gradient(135deg, #4A3F4D 0%, #4A3F4D 100%);
    background: linear-gradient(135deg, #005a9e 0%, #77E8D2 50%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.quote-button:hover {
    // background: linear-gradient(135deg, #3a2f3d 0%, #3a2f3d 100%);
    background: linear-gradient(135deg, #106ebe 0%, #005a9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 63, 77, 0.3);
}


.quote-button:active {
    transform: translateY(0);
}
