/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Basier Circle", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #2f2f2f;
}

.main-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

/* Watermarks */
.watermark {
    position: fixed;
    font-size: 48px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 0;
}

.watermark-top-right {
    top: 20px;
    right: 20px;
}

.watermark-top-left {
    top: 20px;
    left: 20px;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.header {
    background: linear-gradient(135deg, #f78817 0%, #f59f3f 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
}

/* Form Styles */
.registration-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2f2f2f;
    margin-bottom: 8px;
}

.required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f78817;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(247, 136, 23, 0.1);
}

.helper-text {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    background-color: #f5f5f5;
    border-color: #f78817;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #f78817;
}

.checkbox-label span {
    font-size: 14px;
    color: #2f2f2f;
}

.checkbox-label.terms {
    background: none;
    border: none;
    padding: 0;
}

.checkbox-label.terms input[type="checkbox"] {
    margin-right: 8px;
}

/* Links */
.link {
    color: #f78817;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn i {
    font-size: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #f78817 0%, #f59f3f 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e67700 0%, #e48e2e 100%);
    box-shadow: 0 4px 12px rgba(247, 136, 23, 0.3);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #2f2f2f;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        border-radius: 0;
        box-shadow: none;
    }

    .header {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .registration-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Validation States */
input:invalid {
    border-color: #d32f2f;
}

input:valid {
    border-color: #4caf50;
}

input:focus:invalid {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

input:focus:valid {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    animation: slideIn 0.5s ease-out;
}