:root {
    --primary-color: #00a9a7;
    --dark-color: #ffffff;
    --text-color: #333333;
    --secondary-color: #f5f5f5;
    --accent-color: #00c3c0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --disabled-color: #cccccc;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    background-color: var(--dark-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.96)), url('/assets/img/group-portrait-adorable-puppies.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.signup-container {
    width: 100%;
    max-width: 640px;
    padding: 20px;
}

.signup-card {
    background-color: rgba(245, 245, 245, 0.92);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 169, 167, 0.2);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 50px;
    margin-bottom: 15px;
}

.brand-name {
    font-size: 26px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.brand-tagline {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--disabled-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    z-index: 1;
    position: relative;
}

.step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 12px rgba(0, 169, 167, 0.4);
}

.step.completed .step-circle {
    background: var(--success-color);
}

.step-label {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--success-color);
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: var(--disabled-color);
    margin-top: -28px;
    transition: var(--transition);
    z-index: 0;
}

.step-line.completed {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 169, 167, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-title i {
    color: var(--primary-color);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: var(--text-color);
    padding: 12px 15px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 18px;
    width: 100%;
    font-size: 15px;
    transition: var(--transition);
}

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

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 169, 167, 0.2);
    outline: none;
}

.input-group-text {
    background-color: rgba(245, 245, 245, 0.9);
    border: 1px solid #ddd;
    color: var(--primary-color);
    padding: 12px 15px;
}

.input-group .form-control {
    border-left: none;
    margin-bottom: 0;
}

.input-group {
    margin-bottom: 18px;
}

.password-requirements {
    color: #888;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 18px;
}

.password-requirements ul {
    padding-left: 20px;
    margin-top: 5px;
}

.password-requirements li {
    margin-bottom: 3px;
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li.invalid {
    color: var(--danger-color);
}

.terms-section {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    transition: var(--transition);
}

.form-check:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 169, 167, 0.05);
}

.form-check-input {
    background-color: white;
    border: 2px solid #ddd;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    line-height: 1.5;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-nav {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-prev {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid #ddd;
}

.btn-prev:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-next {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-next:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 169, 167, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, var(--success-color), #34a853);
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.step-footer.single {
    justify-content: flex-end;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #888;
}

.login-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-control:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

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

    .signup-card {
        padding: 25px 20px;
    }

    .logo {
        width: 100px;
    }

    .step-label {
        display: none;
    }

    .step-circle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .brand-name {
        font-size: 22px;
    }
}
