/* Modern Profile Page Design - Updated to Theme Color #09c */
.widget-back {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Master Page Sidebar Styling */
.usermenusbox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.usermenusbox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usermenusbox li {
    border-bottom: 1px solid #f0f0f0;
}

.usermenusbox li:last-child {
    border-bottom: none;
}

.usermenusbox a {
    display: block;
    padding: 1rem 1.5rem;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.usermenusbox a:hover,
.usermenusbox a.active {
    background: #e6f7ff;
    color: #09c;
    border-left-color: #09c;
    text-decoration: none;
}

.usermenusbox i {
    margin-right: 8px;
    width: 16px;
    color: #09c;
}

.profile-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    margin: 0;
}

/* Modern OrderListBox Styles */
.orderlistbox {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.orderlistbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #09c, #0bb);
    border-radius: 16px 16px 0 0;
}

.orderlistbox:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #09c;
}

.orderlisthead {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oidbtn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.oidbtn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.orderbrandlogobox {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.orderbrandlogobox img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.orderbrandlogobox:hover img {
    transform: scale(1.05);
}

.trackbtn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.trackbtn:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    color: white;
    text-decoration: none;
}

/* Profile Header */
.profile-header {
background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar i {
    font-size: 2rem;
    color: white;
}

.profile-title {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.profile-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* Form Content */
.form-content {
    padding: 2.5rem;
    background: #fff;
}

.section-title {
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #09c;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #09c;
    border-radius: 2px;
}

/* Input Groups */
.input-group {
    display: block;
    margin-bottom: 2rem;
}

/* Two column layout for name and phone */
.input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-row .input-group {
    flex: 1;
    margin-bottom: 0;
}

.input-label {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.875rem;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.input-label .fa-info-circle {
    color: #09c;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px;
    border-radius: 50%;
}

.input-label .fa-info-circle:hover {
    color: #2980b9;
    background-color: rgba(52, 152, 219, 0.1);
}

/* Custom Tooltip */
.tooltip-custom {
    position: absolute;
    background-color: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

.tooltip-custom.show {
    opacity: 1;
    visibility: visible;
}

.input-wrapper {
    position: relative;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.input-wrapper:hover {
    border-color: #09c;
    box-shadow: 0 4px 12px rgba(0, 153, 204, 0.15);
    transform: translateY(-1px);
}

.input-wrapper:focus-within {
    border-color: #09c;
    box-shadow: 0 0 0 4px rgba(45, 90, 45, 0.1), 0 4px 12px rgba(45, 90, 45, 0.2);
    transform: translateY(-1px);
}

.modern-input {
    width: 100%;
    height: 56px;
    padding: 0 1.25rem;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    color: #2c3e50;
    outline: none;
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 500;
}

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

.modern-input:disabled {
    background: #f8f9fa;
    color: #7f8c8d;
    cursor: not-allowed;
}

/* Required asterisk styling */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* Select dropdown styling */
.select-wrapper {
    position: relative;
}

.modern-select {
    width: 100%;
    height: 50px;
    padding: 0 2.5rem 0 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #495057;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.875rem;
    pointer-events: none;
}

/* Info Text */
.info-text {
    color: #7f8c8d;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.1);
}

.info-text i {
    margin-right: 8px;
    color: #f39c12;
    font-size: 1rem;
}

/* Button Container */
.btn-container {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid #ecf0f1;
}

.submit-btn {
    background: linear-gradient(135deg, #09c, #0bb);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(45, 90, 45, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 45, 0.4);
    background: linear-gradient(135deg, #1e3d1e, #229954);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45, 90, 45, 0.3);
}

/* Message Area */
.message-area {
    margin-top: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .widget-back {
        padding: 1rem 0;
    }
    
    .container-fluid {
        padding: 0 1rem;
    }
    
    .form-content {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .usermenusbox a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Stack input-row on mobile */
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    
    .input-row .input-group {
        margin-bottom: 1.75rem;
    }
    
    .input-group {
        display: block;
        margin-bottom: 1.75rem;
    }
    
    .modern-input {
        height: 52px;
        padding: 0 1.125rem;
        font-size: 1rem;
    }
    
    .modern-select {
        height: 52px;
        padding: 0 2.5rem 0 1.125rem;
        font-size: 1rem;
    }
    
    .select-arrow {
        right: 1rem;
        font-size: 0.875rem;
    }
    
    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-container {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    
    /* Address Cards Mobile Styles */
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .address-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .address-title {
        font-size: 1.1rem;
    }
    
    .address-actions {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .action-btn {
        width: 35px;
        height: 35px;
    }
    
    .address-details {
        padding: 1rem;
    }
    
    .address-text {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .address-text i {
        margin-top: 0;
    }
    
    /* Wishlist Mobile Styles */
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wishlist-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .wishlist-image {
        width: 80px;
        height: 80px;
        margin: 0 auto 1rem;
    }
    
    .wishlist-details {
        gap: 1rem;
    }
    
    .wishlist-actions {
        justify-content: center;
    }
}

/* Address Grid Styles */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.address-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #09c, #0bb);
    border-radius: 16px 16px 0 0;
}

.address-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #09c;
}

.address-content {
    position: relative;
}

.address-actions {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    z-index: 10;
}

.action-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: #09c;
    color: white;
    border-color: #09c;
    transform: scale(1.1);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 150px;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #09c;
    transform: translateX(5px);
}

.dropdown-item.text-danger:hover {
    background: #fff5f5;
    color: #e74c3c;
}

.address-info {
    margin-top: 1rem;
}

.address-header {
    margin-bottom: 1.5rem;
}

.address-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.address-title i {
    color: #09c;
    font-size: 1.1rem;
}

.edit-btn, .delete-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.edit-btn {
    background: #09c;
    color: white;
}

.edit-btn:hover {
    background: #007bb3;
    transform: scale(1.05);
}

.delete-btn {
    background: #e74c3c;
    color: white;
}

.delete-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.address-details {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    border-left: 4px solid #09c;
}

.address-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-text i {
    color: #09c;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.address-actions-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.deliver-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.deliver-btn:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    color: white;
    text-decoration: none;
}

/* Wishlist Grid Styles */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.wishlist-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1rem;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.wishlist-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.wishlist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-image:hover img {
    transform: scale(1.1);
}

.wishlist-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: #09c;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #27ae60;
}

.wishlist-actions {
    display: flex;
    justify-content: flex-end;
}

.remove-btn {
    padding: 0.5rem 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Form Actions Styles */
.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    min-width: 180px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form Message Styles */
.form-message {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.form-message .alert {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

/* Order Card Styles */
.order-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #09c, #0bb);
    border-radius: 16px 16px 0 0;
}

.order-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #09c;
}

/* Order Header */
.order-header {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin-bottom: 1.5rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.order-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.order-info-item i {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

.order-info-content h4 {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.order-info-content p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Order Table */
.order-table-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.order-table thead {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    color: white;
}

.order-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.order-table tbody tr:hover {
    background: #f8f9fa;
}

/* Product Info */
.product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.product-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

/* Badges and Status */
.qty-badge {
    background: linear-gradient(135deg, #09c, #007bb3);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.price-text {
    font-size: 1rem;
    font-weight: 600;
    color: #27ae60;
}

.total-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.status-badge.confirmed {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.status-badge.shipped {
    background: linear-gradient(135deg, #09c, #007bb3);
    color: white;
}

.status-badge.delivered {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

/* Mobile Order Views */
.mobile-order-view {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin-bottom: 1.5rem;
}

.mobile-order-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-order-header i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-order-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-order-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.mobile-distributor-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-distributor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-distributor-info i {
    font-size: 1.2rem;
    color: #09c;
}

.mobile-distributor-info h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.mobile-distributor-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.mobile-product-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #09c;
}

.mobile-product-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mobile-product-header i {
    font-size: 1rem;
    color: #09c;
}

.mobile-product-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.mobile-product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.mobile-product-details span {
    color: #666;
}

.mobile-product-details strong {
    color: #2c3e50;
}

/* Modern OrderListBox Styles */
.orderlistbox {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.orderlistbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #09c, #0bb);
    border-radius: 16px 16px 0 0;
}

.orderlistbox:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #09c;
}

.orderlisthead {
    background: linear-gradient(135deg, #09c 0%, #0bb 100%);
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.orderlisthead h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.oidbtn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.oidbtn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.orderbrandlogobox {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    text-align: center;
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.orderbrandlogobox img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.orderbrandlogobox:hover img {
    transform: scale(1.05);
}

.trackbtn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.trackbtn:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    color: white;
    text-decoration: none;
}

/* Simple Table Styles for OrderListBox */
.orderlistbox table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orderlistbox table thead {
    background: #09c;
    color: white;
}

.orderlistbox table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
}

.orderlistbox table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.orderlistbox table tbody tr:hover {
    background: #f8f9fa;
}

.orderlistbox table tbody tr:last-child {
    border-bottom: none;
}

.orderlistbox table td {
    padding: 1rem;
    border: none;
    vertical-align: middle;
}

/* Specific column widths for better content fitting */
.orderlistbox table td:nth-child(1) { /* Product Image */
    width:160px;
    text-align: center;
}

.orderlistbox table td:nth-child(2) { /* Product Name/Description */
    width: 30%; 
    min-width: 200px;
}

.orderlistbox table td:nth-child(3) { /* Quantity */
    width: 100px;
    text-align: center;
}

.orderlistbox table td:nth-child(4) { /* Price */
    width: 120px;
    text-align: right;
}

.orderlistbox table td:nth-child(5) { /* Total */
    width: 140px;
    text-align: right;
    padding-right: 1.5rem;
}

.orderlistbox table td:nth-child(6) { /* Status */
    width: 130px;
    text-align: center;
}

.orderlistbox table td:nth-child(7) { /* Date */
    width: 120px;
    text-align: center;
}

.orderlistbox table td:nth-child(8) { /* Actions */
    width: 150px;
    text-align: center;
}
.ordertopara {
    font-size: 14px;
    color: #09c;
    margin: 0;
    font-weight: 700;
}
/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .orderlistbox table td:nth-child(2) { /* Product Name */
        width: 40%;
        min-width: 150px;
    }
    
    .orderlistbox table td:nth-child(3), /* Quantity */
    .orderlistbox table td:nth-child(4), /* Price */
    .orderlistbox table td:nth-child(5) { /* Total */
        width: 80px;
        font-size: 0.875rem;
    }
    
    .orderlistbox table td:nth-child(6) { /* Status */
        width: 100px;
    }
    
    .orderlistbox table td:nth-child(7) { /* Date */
        width: 90px;
        font-size: 0.8rem;
    }
    
    .orderlistbox table td:nth-child(8) { /* Actions */
        width: 120px;
    }
}

/* Product Image in Table */
.orderlistbox table .product-image {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
}

.orderlistbox table .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.orderlistbox table .product-image:hover img {
    transform: scale(1.1);
}

/* Status Badges in Table */
.orderlistbox .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.orderlistbox .status-badge.pending {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.orderlistbox .status-badge.confirmed {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.orderlistbox .status-badge.shipped {
    background: linear-gradient(135deg, #09c, #007bb3);
    color: white;
}

.orderlistbox .status-badge.delivered {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

/* Price and Quantity Styling */
.orderlistbox .price-text {
    font-size: 1rem;
    font-weight: 600;
    color: #27ae60;
}

.orderlistbox .total-text {
    font-size: 1rem;
    font-weight: 600;
    color: #e74c3c;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.orderlistbox .total-text .rupee-icon {
    color: #f39c12;
    font-weight: 700;
    font-size: 1.1rem;
}

.orderlistbox .total-text .amount {
    color: #e74c3c;
    font-weight: 600;
}

.orderlistbox .date-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8e44ad;
}

.orderlistbox .qty-badge {
    background: linear-gradient(135deg, #09c, #007bb3);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* Action Buttons in Table */
.orderlistbox .action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.orderlistbox .btn-view {
    background: linear-gradient(135deg, #09c, #007bb3);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.orderlistbox .btn-view:hover {
    background: linear-gradient(135deg, #007bb3, #005c8a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 204, 0.3);
    color: white;
    text-decoration: none;
}

.orderlistbox .btn-download {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.orderlistbox .btn-download:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    color: white;
    text-decoration: none;
}

/* Mobile Responsive for OrderListBox */
@media (max-width: 768px) {
    .orderlistbox {
        padding: 1.5rem;
        margin: 0 0.5rem 1.5rem;
    }
    
    .orderlisthead {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .orderlistbox table {
        font-size: 0.875rem;
    }
    
    .orderlistbox table th,
    .orderlistbox table td {
        padding: 0.75rem 0.5rem;
    }
    
    .orderlistbox .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .orderlistbox .btn-view,
    .orderlistbox .btn-download {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

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

.profile-card {
    animation: slideUp 0.6s ease-out;
}

/* Focus states for accessibility */
.modern-input:focus {
    outline: none;
}

.submit-btn:focus {
    outline: 2px solid #764ba2;
    outline-offset: 2px;
}

/* Bank Details Card Styles */
.bank-details-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.3s ease;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item:hover {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
}

.detail-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    min-width: 140px;
}

.detail-label i {
    margin-right: 8px;
    color: #3498db;
    width: 16px;
    text-align: center;
}

.detail-value {
    color: #34495e;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
    max-width: 200px;
}

/* Warning Area Styles */
.warning-area {
    margin: 1.5rem 0;
}

.warning-area .alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.warning-area .alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border-left: 4px solid #f39c12;
}

.warning-area .alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.warning-area .alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

/* Responsive adjustments for RTGS page */
@media (max-width: 768px) {
    .bank-details-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .detail-value {
        text-align: left;
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .row {
        margin: 0;
    }
    
    .col-md-6 {
        padding: 0;
        margin-bottom: 2rem;
    }
}