body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.affiliate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 9rem 1rem;
    background: #f1eeee;
}

.affiliate-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #3004E1;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.full-width {
    grid-column: 1 / -1;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #A601B3;
    box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.2);
}

.input-group textarea {
    resize: vertical;
}

.input-with-icons {
    display: flex;
    align-items: center;
    position: relative;
}

.input-with-icons input {
    padding-right: 120px;
}

.social-icons {
    position: absolute;
    right: 15px;
    display: flex;
    gap: 10px;
    color: #A601B3;
    font-size: 1.2rem;
}

.social-icons .fab {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.social-icons .fab:hover {
    opacity: 1;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    padding-right: 2.5rem;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #6a1b9a;
    pointer-events: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-group a {
    color: #6a1b9a;
    text-decoration: none;
    font-weight: 600;
}

.form-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background-color: #3004E1;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1.5rem;
}

.form-button:hover {
    background-color: #A601B3;
    transform: translateY(-2px);
}

.error-message {
    color: #e53935;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}