/* Modern Transfer Card - Slider Style Design */
/* White background with purple (#160f3e) and golden (#f9bd06) accents */

.modern-transfer-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow:
        0 20px 60px rgba(22, 15, 62, 0.15),
        0 0 100px rgba(249, 189, 6, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 15, 62, 0.1);
}

/* Decorative gradient overlay */
.modern-transfer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #f9bd06 0%,
        #ffd84d 50%,
        #f9bd06 100%);
}

/* Subtle pattern overlay */
.modern-transfer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(249, 189, 6, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 189, 6, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.modern-transfer-form {
    position: relative;
    z-index: 1;
}

/* Form Group Styling */
.form-group-modern {
    margin-bottom: 24px;
}

/* Modern Label */
.modern-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #160f3e;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.modern-label::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #160f3e;
    margin-right: 10px;
    border-radius: 2px;
}

/* Modern Input */
.modern-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.modern-input::placeholder {
    color: #999;
    font-weight: 400;
}

.modern-input:focus {
    background: #fff;
    border-color: #f9bd06;
    box-shadow:
        0 0 0 4px rgba(249, 189, 6, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.modern-input:hover {
    border-color: rgba(249, 189, 6, 0.3);
}

/* Modern Transfer Button */
.modern-transfer-btn {
    width: 100%;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #160f3e 0%, #2a1a5e 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(22, 15, 62, 0.3);
    margin-top: 8px;
}

/* Button gradient border effect */
.modern-transfer-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #f9bd06 0%, #ffd84d 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-transfer-btn:hover::before {
    opacity: 1;
}

/* Button shimmer effect */
.modern-transfer-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    transform: translate(-150%, -50%);
    transition: transform 0.6s ease;
}

.modern-transfer-btn:hover::after {
    transform: translate(50%, -50%);
}

.modern-transfer-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(22, 15, 62, 0.4),
        0 0 40px rgba(249, 189, 6, 0.2);
}

.modern-transfer-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(22, 15, 62, 0.3);
}

.modern-transfer-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.modern-transfer-btn:hover i {
    transform: translateX(4px);
}

/* Modern Info Text */
.modern-info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 20px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.modern-info-text i {
    color: #f9bd06;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-transfer-card {
        padding: 40px 32px;
    }

    .modern-transfer-btn {
        padding: 16px 28px;
        font-size: 14px;
    }

    .modern-input {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .modern-transfer-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .modern-label {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .modern-input {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    .modern-transfer-btn {
        padding: 15px 24px;
        font-size: 13px;
        border-radius: 10px;
    }

    .modern-info-text {
        font-size: 12px;
        padding: 10px 16px;
        margin-top: 16px;
    }

    .form-group-modern {
        margin-bottom: 20px;
    }
}

/* Animation on page load */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-transfer-card {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-modern:nth-child(1) {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.form-group-modern:nth-child(2) {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.modern-transfer-btn {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.modern-info-text {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}
