/* Payment Header */
.payment-header {
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

.payment-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.payment-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.step {
    position: relative;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.step-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.step.active .step-number {
    background: #EFBB20;
    color: #2c3e50;
    border-color: #EFBB20;
}

.step.active .step-text {
    color: #fff;
    font-weight: 600;
}

.step.completed .step-number {
    background: rgba(255,255,255,0.8);
    color: #4c1864;
}

.step.completed .step-text {
    color: #fff;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 70px;
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

/* Payment Main */
.payment-main {
    padding: 60px 0;
    background: #f9f9f9;
}

.payment-card, .order-summary {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.payment-card h2, .order-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.payment-card h2 i, .order-summary h2 i {
    margin-right: 10px;
    color: #4c1864;
}

.payment-methods {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.method {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.method:hover {
    background: rgba(112, 31, 219, 0.05);
}

.method.active {
    border-color: rgba(112, 31, 219, 0.3);
    background: rgba(112, 31, 219, 0.05);
}

.method img {
    height: 30px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.method span {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.method.active span {
    color: #4c1864;
    font-weight: 600;
}

/* Payment Form */
.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.payment-form .form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding-left: 15px;
}

.payment-form .form-control:focus {
    border-color: rgba(112, 31, 219, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(112, 31, 219, 0.1);
}

.card-icons {
    display: flex;
    margin-top: 10px;
}

.card-icons img {
    height: 25px;
    margin-right: 10px;
    opacity: 0.6;
}

.payment-submit {
    height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    border: none;
}

.payment-submit:hover {
    background: linear-gradient(135deg, rgba(112, 31, 219, 1) 0%, rgba(59, 7, 100, 1) 100%);
}

.payment-submit i {
    margin-right: 10px;
}

/* Order Summary */
.plan-info {
    background: rgba(112, 31, 219, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.plan-info h3 {
    font-size: 1.3rem;
    color: #4c1864;
    margin-bottom: 5px;
}

.plan-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4c1864;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #7f8c8d;
    display: block;
}

.order-details {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.detail-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.features-included h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.features-included ul {
    list-style: none;
    padding-left: 0;
}

.features-included li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.features-included li i {
    margin-right: 10px;
    color: #4c1864;
    font-size: 0.9rem;
}

.support-info {
    background: rgba(239, 187, 32, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: center;
}

.support-info p {
    margin-bottom: 0;
    color: #2c3e50;
}

.support-info strong {
    color: #4c1864;
}

/* Security Info */
.security-info {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-top: 30px;
}

.security-info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.security-info h3 i {
    margin-right: 10px;
    color: #4c1864;
}

.security-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.security-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.security-badges img {
    height: 40px;
    opacity: 0.8;
}

/* UPI Apps */
.upi-apps {
    margin: 20px 0;
}

.upi-apps p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.apps-container {
    display: flex;
    justify-content: space-around;
}

.apps-container img {
    height: 40px;
}

/* Modals */
.processing-spinner {
    margin: 20px 0 30px;
}

.success-checkmark {
    margin: 20px auto 30px;
    width: 80px;
    height: 80px;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.check-icon::before, .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

.whats-next {
    text-align: left;
    margin: 20px 0;
}

.whats-next h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.whats-next ul {
    padding-left: 20px;
    color: #7f8c8d;
}

.order-number {
    margin: 15px 0;
    padding: 10px;
    background: rgba(112, 31, 219, 0.05);
    border-radius: 5px;
}

.order-number p {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .payment-header {
        padding: 40px 0 30px;
    }
    
    .payment-header h1 {
        font-size: 2rem;
    }
    
    .step {
        padding: 0 15px;
    }
    
    .step:not(:last-child):after {
        width: 30px;
        left: 45px;
    }
}

@media (max-width: 767px) {
    .payment-methods {
        flex-wrap: wrap;
    }
    
    .method {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .step {
        flex: 0 0 33.33%;
        margin-bottom: 15px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .security-badges img {
        height: 30px;
    }
}