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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2d3142;
    font-size: 24px;
    font-weight: 700;
    justify-content: flex-start;
}

.navbar-brand i {
    font-size: 28px;
    color: #4CAF50;
}

.navbar-toggler {
    border: none;
    padding: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    font-size: 24px;
    color: #2d3142;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    justify-content: flex-end;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: #2d3142;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
}

.nav-link:not(.btn-outline):not(.btn-primary):hover {
    color: #4CAF50;
    background-color: #f8f9fa;
}

.nav-link.btn-outline {
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.nav-link.btn-outline:hover {
    background-color: #4CAF50;
    color: #ffffff;
}

.nav-link.btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
}

.nav-link.btn-primary:hover {
    background-color: #45a049;
    color: #ffffff;
}

/* Sign Up Section */
.signup-section {
    padding: 100px 0 80px;
    min-height: calc(100vh - 200px);
}

.signup-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 50px;
}

.signup-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3142;
    margin-bottom: 10px;
}

.signup-subtitle {
    font-size: 16px;
    color: #6c757d;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e4e6eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3142;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #4CAF50;
    font-size: 24px;
}

/* Form Controls */
.form-label {
    font-weight: 500;
    color: #2d3142;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #ff4444;
    margin-left: 3px;
}

.signup-form .form-control,
.signup-form .form-select {
    padding: 12px 12px 12px 8px !important;
    border: 2px solid #e4e6eb;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3142;
    transition: all 0.3s;
    background-color: #ffffff;
}

.signup-form .form-control:focus,
.signup-form .form-select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-text {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
}

/* Error messages */
.text-danger {
    color: #dc3545 !important;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.text-danger.small {
    font-size: 12px;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

/* Ensure password fields have the same padding as other form controls */
/* Make this more specific than .signup-form .form-control */
.signup-form .password-input-wrapper .form-control {
    padding: 12px 12px 12px 8px !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 1;
}

.password-toggle:hover {
    color: #4CAF50;
}

.password-toggle i {
    font-size: 18px;
}

/* Checkboxes */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    border: 2px solid #e4e6eb;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-check-label {
    font-size: 14px;
    color: #2d3142;
    line-height: 1.5;
    cursor: pointer;
}

.link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.link:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.signup-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
}

/* Footer */
.footer {
    background-color: #2d3142;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: #4CAF50;
}

.footer-description {
    color: #adb5bd;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #adb5bd;
    font-size: 14px;
}

.footer-contact i {
    color: #4CAF50;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #adb5bd;
    font-size: 14px;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .signup-container {
        padding: 40px 30px;
    }

    .signup-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .signup-section {
        padding: 30px 0 60px;
    }

    .signup-container {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .signup-title {
        font-size: 24px;
    }

    .signup-subtitle {
        font-size: 14px;
    }

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

    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .btn-submit {
        padding: 14px 35px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .signup-container {
        padding: 25px 15px;
    }

    .signup-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 16px;
    }

    .signup-form .form-control,
    .signup-form .form-select {
        font-size: 14px;
        padding: 10px 12px 10px 8px !important;
    }

    .navbar-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 16px;
    }
}
