* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, 'Hoefler Text', Georgia, serif;
    line-height: 1.7;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background-color: #000000;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000000;
    font-size: 24px;
    letter-spacing: -1px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.company-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
}

h1 {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.content {
    font-size: 1.1rem;
    color: #2a2a2a;
    margin-bottom: 2rem;
    text-align: justify;
}

.content p {
    margin-bottom: 1.5rem;
}

.content p:first-of-type::first-letter {
    font-size: 3.9rem;
    line-height: 0.9;
    float: left;
    margin: -0.1rem 0.12rem 0 0;
    font-weight: 300;
    color: #000000;
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.8rem;
}

.content strong {
    color: #000000;
    font-weight: 600;
}

.email-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #000000;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.email-link:hover {
    opacity: 0.6;
}

/* Login Page Styles */
.login-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    width: 100%;
    border: 1px solid #e0e0e0;
}

.login-container h1 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    cursor: pointer;
}

.remember-me input {
    cursor: pointer;
}

.forgot-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 1;
}

.login-button {
    background: #000000;
    color: #ffffff;
    padding: 0.9rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

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

.login-help {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Company Logos Section */
.companies {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.companies h3 {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.7;
}

.company-logo {
    font-size: 1.2rem;
    color: #555;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-content a:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .header-content {
        padding: 0.5rem 0;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .content {
        font-size: 1rem;
    }

    .company-logos {
        gap: 2rem;
    }

    .login-main {
        padding: 2rem 1.5rem;
    }

    .login-container {
        padding: 2rem 1.5rem;
    }

    .login-container h1 {
        font-size: 1.75rem;
    }

    .content p:first-of-type::first-letter {
        font-size: 3.6rem;
        line-height: 0.9;
        margin: 0 0.12rem 0 0;
        font-weight: 300;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
