/* Modern Product Page - Dark Theme */

/* Layout */
body {
    background: #0f172a;
}

.product-modern-wrapper {
    background: #0f172a;
    min-height: 100vh;
    padding: 20px 0 60px;
}

/* Breadcrumb */
.product-breadcrumb {
    background: transparent;
    border: none;
    padding: 12px 0;
    margin-bottom: 24px;
    border-radius: 0;
}

.product-breadcrumb li {
    color: #94a3b8;
    font-size: 14px;
}

.product-breadcrumb li a {
    color: #14b8a6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb li a:hover {
    color: #06b6d4;
}

.product-breadcrumb > li + li:before {
    color: #475569;
}

.product-breadcrumb .active {
    color: #cbd5e1;
}

/* Main Container */
.product-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Section */
.product-gallery-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

.gallery-badge {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.gallery-badge i {
    font-size: 14px;
}

.gallery-hint {
    text-align: center;
    padding: 12px;
    margin-top: 12px;
    background: rgba(20, 184, 166, 0.05);
    border: 1px dashed rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gallery-hint:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.5);
    color: #14b8a6;
}

.gallery-hint i {
    font-size: 14px;
}

.sp-wrap {
    border-radius: 8px;
    overflow: hidden;
    float: none !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border: 2px solid #334155 !important;
    transition: border-color 0.3s ease;
}

.sp-wrap:hover {
    border-color: #14b8a6 !important;
}

.sp-large,
.sp-thumbs {
    background: #0f172a !important;
}

.sp-large a {
    background: #0f172a !important;
    position: relative;
    overflow: hidden;
}

.sp-large a img {
    transition: transform 0.3s ease;
}

.sp-large a:hover img {
    transform: scale(1.05);
}

.sp-thumbs {
    padding: 8px !important;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
}

.sp-thumbs a {
    border: 2px solid #334155 !important;
    border-radius: 6px !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
    opacity: 0.6 !important;
}

.sp-thumbs a:hover,
.sp-thumbs a.sp-current {
    opacity: 1 !important;
    border-color: #14b8a6 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.3);
}

.product-no-image {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 8px;
    padding: 80px 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.product-no-image-placeholder i {
    font-size: 80px;
    color: rgba(20, 184, 166, 0.3);
    margin-bottom: 8px;
}

.product-no-image-placeholder p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Hide product_id input */
#product-id {
    display: none;
}

/* Owner Tools */
.product-tools {
    background: #1e293b;
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid #334155;
    overflow: hidden;
}

.product-tools-header {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
}

.product-tools-header i {
    margin-right: 8px;
}

.product-tool-item {
    display: block;
    padding: 14px 16px;
    color: #cbd5e1;
    text-decoration: none;
    border-bottom: 1px solid #334155;
    transition: all 0.2s ease;
    font-size: 14px;
}

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

.product-tool-item:hover {
    background: #334155;
    color: #14b8a6;
    text-decoration: none;
    padding-left: 20px;
}

.product-tool-item i {
    margin-right: 8px;
    width: 20px;
    display: inline-block;
}

/* Upload Form */
.product-upload-form {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    border: 1px solid #334155;
}

.product-upload-form h3 {
    color: #14b8a6;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-upload-form h3 i {
    font-size: 18px;
}

.product-upload-form .hint {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 16px;
    font-style: italic;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}

.product-upload-form .hint i {
    margin-top: 2px;
    flex-shrink: 0;
}

.file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #0f172a;
    border: 2px dashed #475569;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.file-input-label i {
    font-size: 18px;
    color: #14b8a6;
}

.file-input-label:hover {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    transform: translateY(-1px);
}

.file-input-wrapper input[type="file"]:focus + .file-input-label {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* When file is selected */
.file-input-wrapper input[type="file"]:valid + .file-input-label {
    border-color: #14b8a6;
    border-style: solid;
    background: rgba(20, 184, 166, 0.1);
}

.file-input-wrapper input[type="file"]:valid + .file-input-label i {
    color: #14b8a6;
}

.product-upload-form button {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.2);
}

.product-upload-form button i {
    font-size: 14px;
}

.product-upload-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

.product-upload-form button:active {
    transform: translateY(0);
}

.product-upload-form .loading-spinner {
    display: none;
    margin-left: 12px;
    vertical-align: middle;
}

/* Product Info Section */
.product-info-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    overflow: hidden;
}

.product-info-item {
    padding: 16px 20px;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: flex-start;
    transition: background 0.2s ease;
}

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

.product-info-item:hover {
    background: rgba(20, 184, 166, 0.05);
}

/* Price Highlight */
.product-price-highlight {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 2px solid #14b8a6;
}

.product-price-highlight:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.product-info-label {
    min-width: 160px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
    flex-shrink: 0;
}

.product-info-value {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 300;
    flex: 1;
    word-wrap: break-word;
}

.product-info-value h1,
.product-info-value h2 {
    display: inline;
    font-size: 15px;
    font-weight: 400;
    color: #14b8a6;
    margin: 0;
}

.product-price {
    font-size: 24px !important;
    font-weight: 500 !important;
    color: #14b8a6 !important;
    line-height: 1.2;
}

.product-phone {
    font-size: 15px;
    font-weight: 400;
    color: #06b6d4;
}

/* Description section with more space */
.product-description {
    flex-direction: column;
}

.product-description .product-info-label {
    margin-bottom: 8px;
}

.product-description .product-info-value {
    line-height: 1.6;
    color: #cbd5e1;
}

/* Meta info (posted date) - subtle */
.product-meta {
    background: rgba(15, 23, 42, 0.5);
}

.product-meta .product-info-label,
.product-meta .product-info-value {
    font-size: 13px;
    color: #64748b;
}

/* Payment Badges */
.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

/* Status Badges */
.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.status-badge.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.neutral {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Hearts/Likes */
.product-hearts {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 20px;
}

.product-hearts .heart {
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-hearts .heart:hover {
    transform: scale(1.2);
}

.product-hearts .heart.fa-heart {
    color: #FF5C5C;
}

.product-hearts .heart.fa-heart-o {
    color: #94a3b8;
}

.product-hearts #hearts_sum {
    color: #e2e8f0;
    font-weight: 400;
    font-size: 16px;
}

/* Comments Section */
.product-comments-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid #334155;
}

.product-comment-form-header {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}

.product-comment-form-body {
    background: #334155;
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

.product-comment-form-body textarea {
    width: 100%;
    padding: 12px;
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.product-comment-form-body textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.product-comment-form-body button {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.product-comment-form-body button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.product-comment-login {
    background: #334155;
    padding: 24px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.product-comment-login a {
    display: inline-block;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.product-comment-login a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Comment Items */
.product-comment-item {
    background: #334155;
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
    border: 1px solid #475569;
}

.product-comment-header {
    background: #ea7850;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-comment-header.owner {
    background: #30709f;
}

.product-comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-comment-author a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
}

.product-comment-author a:hover {
    text-decoration: underline;
}

.product-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
}

.product-comment-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.product-comment-body {
    padding: 16px;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
}

.product-comment-delete {
    margin-top: 12px;
    text-align: right;
}

.product-comment-delete button {
    background: #dc2626;
    border: none;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.product-comment-delete button:hover {
    background: #b91c1c;
}

/* Seller Section */
.product-seller-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
}

.product-seller-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #14b8a6;
    margin: 0 auto 16px;
}

.product-seller-name {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 16px;
}

.product-seller-name a {
    color: #14b8a6;
    text-decoration: none;
}

.product-seller-name a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

.product-seller-name i {
    color: #ea7850;
    margin-right: 6px;
}

/* Report Section */
.product-report-section {
    background: #334155;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.product-report-link {
    display: inline-block;
    background: #1e293b;
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-report-link:hover {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
    text-decoration: none;
}

/* Alert Boxes */
.product-alert {
    background: #334155;
    border-left: 4px solid #14b8a6;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.product-alert.info {
    border-left-color: #06b6d4;
}

.product-alert.warning {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.product-alert.danger {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.product-alert-title {
    color: #14b8a6;
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-alert-body {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

/* Modals */
.modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.modal-header-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 16px 20px;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-header-success {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
    padding: 16px 20px;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-body {
    padding: 24px;
    color: #e2e8f0;
}

.modal-footer {
    border-top: 1px solid #334155;
    padding: 16px 20px;
}

/* Report Modal */
.report-option {
    display: block;
    background: #334155;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: normal;
}

.report-option:hover {
    background: #475569;
}

.report-option input[type="radio"] {
    margin-right: 10px;
}

.report-textarea {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

.report-textarea:focus {
    outline: none;
    border-color: #14b8a6;
}

/* Video Embed */
.product-video {
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.product-video iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .product-info-label {
        min-width: 140px;
    }

    .product-seller-section {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .product-modern-wrapper {
        padding: 16px 0 40px;
    }

    .product-container {
        padding: 0 12px;
    }

    .product-breadcrumb {
        padding: 8px 0;
        margin-bottom: 16px;
        font-size: 13px;
    }

    .product-gallery-section,
    .product-info-section,
    .product-seller-section {
        margin-bottom: 20px;
    }

    .product-info-item {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px;
    }

    .product-info-label {
        min-width: auto;
        margin-bottom: 4px;
    }

    .product-price {
        font-size: 22px !important;
    }

    .product-comments-section {
        margin-top: 20px;
    }

    /* Stack layout on mobile */
    .col-xs-12 {
        margin-bottom: 20px;
    }

    .col-xs-12:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .product-modern-wrapper {
        padding: 12px 0 30px;
    }

    .product-container {
        padding: 0 8px;
    }

    .product-breadcrumb {
        padding: 6px 0;
        font-size: 12px;
    }

    .product-gallery-section,
    .product-info-section,
    .product-comments-section,
    .product-seller-section {
        padding: 16px;
        border-radius: 8px;
    }

    .product-info-item {
        padding: 12px;
    }

    .product-info-label {
        font-size: 13px;
    }

    .product-info-value {
        font-size: 13px;
    }

    .product-price {
        font-size: 20px !important;
    }

    .product-phone {
        font-size: 14px;
    }

    /* Badges responsive */
    .payment-badges,
    .status-badges {
        gap: 6px;
    }

    .payment-badge,
    .status-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Tools section */
    .product-tools {
        margin-top: 16px;
    }

    .product-tool-item {
        padding: 12px;
        font-size: 13px;
    }

    /* Upload form */
    .product-upload-form {
        padding: 16px;
        margin-top: 16px;
    }

    .product-upload-form h3 {
        font-size: 15px;
    }

    /* Seller section */
    .product-seller-avatar {
        width: 100px;
        height: 100px;
    }

    .product-seller-name {
        font-size: 15px;
    }

    /* Comments */
    .product-comment-form-header {
        font-size: 14px;
        padding: 10px 14px;
    }

    .product-comment-form-body {
        padding: 14px;
    }

    .product-comment-form-body textarea {
        min-height: 80px;
        font-size: 13px;
    }

    .product-comment-form-body button {
        padding: 8px 18px;
        font-size: 13px;
    }

    .product-comment-item {
        margin-top: 12px;
    }

    .product-comment-header {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-comment-date {
        font-size: 11px;
    }

    .product-comment-body {
        padding: 12px;
        font-size: 13px;
    }

    .product-comment-avatar {
        width: 32px;
        height: 32px;
    }

    /* Video */
    .product-video iframe {
        height: 220px;
    }
}

@media (max-width: 360px) {
    .product-price {
        font-size: 18px !important;
    }

    .product-info-item {
        padding: 10px;
    }

    .product-seller-avatar {
        width: 90px;
        height: 90px;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 16px;
}

.mt-3 {
    margin-top: 16px;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    width: 40px;
    margin: 12px auto;
}

/* Star rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 6px;
}

.star-rating .star {
    color: #f59e0b;
    font-size: 16px;
}

.star-rating .rating-text {
    color: #e2e8f0;
    font-weight: 400;
    font-size: 14px;
}

/* Bootstrap Button Overrides for Dark Theme */
.btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-success {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: white;
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    transform: translateY(-1px);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    color: white;
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        min-height: 44px;
    }

    .product-tool-item,
    .product-report-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .product-hearts .heart {
        font-size: 20px;
        padding: 8px;
    }
}

/* Alert overrides */
.alert {
    margin-bottom: 0;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #fcd34d;
}

/* ============================================
   MODERN MODAL STYLES
   ============================================ */

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
}

.modal-backdrop.in {
    opacity: 1;
}

/* Modern Modal Content */
.modern-modal-content {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Modern Modal Header */
.modern-modal-header {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.modern-modal-header .modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-modal-header .modal-title i {
    font-size: 22px;
}

/* Modern Modal Close Button */
.modern-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.modern-modal-close:hover,
.modern-modal-close:focus {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Modern Modal Body */
.modern-modal-body {
    padding: 32px 24px;
    color: #e2e8f0;
    background-color: #1e293b;
    text-align: center;
}

.modern-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 3px solid rgba(20, 184, 166, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-modal-icon i {
    font-size: 36px;
    color: #14b8a6;
}

.modern-modal-text {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 12px;
    line-height: 1.6;
}

.modern-modal-subtext {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.modern-modal-hint {
    background: rgba(20, 184, 166, 0.1);
    border-left: 3px solid #14b8a6;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    color: #94a3b8;
    font-size: 14px;
    text-align: left;
}

.modern-modal-hint i {
    color: #14b8a6;
    margin-right: 8px;
}

/* Modern Modal Footer */
.modern-modal-footer {
    background-color: #0f172a;
    border-top: 1px solid #334155;
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Modern Report Options */
.modern-report-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.modern-report-option {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}

.modern-report-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modern-report-option .report-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #e2e8f0;
    font-size: 15px;
}

.modern-report-option .report-option-content i {
    color: #14b8a6;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.modern-report-option:hover .report-option-content {
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
}

.modern-report-option input[type="radio"]:checked + .report-option-content {
    border-color: #14b8a6;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.modern-report-option input[type="radio"]:checked + .report-option-content::after {
    content: "✓";
    position: absolute;
    right: 16px;
    color: #14b8a6;
    font-weight: bold;
    font-size: 18px;
}

/* Modern Report Textarea */
.modern-report-textarea {
    width: 100%;
    padding: 14px 16px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 15px;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-report-textarea:focus {
    outline: none;
    border-color: #14b8a6;
    background: #1e293b;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.modern-report-textarea::placeholder {
    color: #64748b;
}

/* Modern Form Label in Modal */
.modern-modal-body .modern-form-label {
    display: block;
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: left;
}

.modern-modal-body .modern-form-label i {
    color: #14b8a6;
    margin-right: 6px;
}

/* Modern Buttons in Modal */
.modern-btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.modern-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.modern-btn-secondary {
    background-color: #475569;
    color: #ffffff;
}

.modern-btn-secondary:hover {
    background-color: #64748b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
}

.modern-btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

.modern-btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.modern-btn i {
    font-size: 14px;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.fade.in .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-modal-header {
        padding: 16px 20px;
    }

    .modern-modal-header .modal-title {
        font-size: 18px;
    }

    .modern-modal-body {
        padding: 24px 20px;
    }

    .modern-modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }

    .modern-btn {
        width: 100%;
        justify-content: center;
    }

    .modern-modal-icon {
        width: 64px;
        height: 64px;
    }

    .modern-modal-icon i {
        font-size: 28px;
    }
}

