/* Brand-consistent styling following EmployeeImpactAI.org guidelines */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1D2233;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Main container */
.container {
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

/* Logo placeholder section */
.logo-placeholder {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #FCFDFD;
    border-radius: 6px;
    border: 2px dashed #CBD5E1;
}

.logo-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.logo-placeholder h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2661D3;
    margin: 0;
}

/* Main content area */
.main-content {
    text-align: left;
}

/* Headings following brand guidelines */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #28C49E;
    margin-bottom: 25px;
    text-align: center;
}

/* Instruction block following brand pattern */
.instruction-block {
    background-color: #F1F5F9;
    padding: 20px;
    margin: 30px 0;
    border-radius: 6px;
}

.instruction-block p {
    margin: 0;
    color: #1D2233;
}

/* Button styling */
.button-container {
    text-align: center;
    margin: 30px 0;
}

.primary-button {
    background-color: #2661D3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: background-color 0.3s ease;
    min-width: 200px;
}

.primary-button:hover {
    background-color: #1e4ba8;
}

.primary-button:active {
    transform: translateY(1px);
}

/* Instruction text */
.instruction-text {
    background-color: #FCFDFD;
    border-left: 4px solid #CBD5E1;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-family: Georgia, serif;
}

.instruction-text p {
    margin: 0;
}

/* Form styling */
.connection-form {
    background-color: #ffffff;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 30px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1D2233;
    font-family: 'Montserrat', sans-serif;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #CBD5E1;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #28C49E;
    box-shadow: 0 0 0 3px rgba(40, 196, 158, 0.1);
}

.form-group input::placeholder {
    color: #94A3B8;
}

/* Submit button */
.submit-button {
    background-color: #28C49E;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #20a085;
}

.submit-button:active {
    transform: translateY(1px);
}

/* Status messages */
.status-message {
    margin: 30px 0;
    padding: 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.status-message.success {
    background-color: #A8DCD1;
    color: #1D2233;
    border: 1px solid #28C49E;
}

.status-message.error {
    background-color: #FEE2E2;
    color: #DC2626;
    border: 1px solid #F87171;
}

.status-message.loading {
    background-color: #EFF6FF;
    color: #2563EB;
    border: 1px solid #93C5FD;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 25px;
    }
    
    .logo-placeholder {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .logo-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .logo-placeholder h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .primary-button {
        padding: 12px 25px;
        font-size: 15px;
        min-width: auto;
        width: 100%;
    }
    
    .connection-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    .instruction-block,
    .instruction-text,
    .connection-form {
        padding: 15px;
    }
}
