﻿.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.btn-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

    .btn-warning-light:hover {
        background-color: rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.3);
        color: #ffc107;
    }

.btn-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

    .btn-danger-light:hover {
        background-color: rgba(220, 53, 69, 0.2);
        border-color: rgba(220, 53, 69, 0.3);
        color: #dc3545;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.badge.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d;
}

.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.19), 0 6px 10px rgba(0, 0, 0, 0.23);
}

.btn-list {
    display: flex;
    gap: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
}

.methodology-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.65rem;
}

.green-energy-bar {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.green-portion {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    transition: width 0.3s ease;
}

.residual-portion {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
    transition: width 0.3s ease;
}

.market-selector {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem;
}

.contract-card {
    border-left: 4px solid #198754;
    transition: all 0.2s ease;
}

    .contract-card:hover {
        border-left-color: #157347;
        transform: translateY(-1px);
    }

.go-certificate {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.progress-thin {
    height: 0.25rem;
}

.zero-emissions {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
}

.calculation-formula {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
}


.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.btn-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

    .btn-warning-light:hover {
        background-color: rgba(255, 193, 7, 0.2);
        border-color: rgba(255, 193, 7, 0.3);
        color: #ffc107;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.badge.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d;
}

.methodology-selector {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.methodology-card {
    border-left: 4px solid;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .methodology-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .methodology-card.market-based {
        border-left-color: #43e97b;
    }

    .methodology-card.location-based {
        border-left-color: #ffc107;
    }

.comparison-bar {
    height: 25px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    background: #f8f9fa;
}

.market-portion {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    transition: width 0.3s ease;
}

.location-portion {
    background: linear-gradient(90deg, #ffc107 0%, #ffb347 100%);
    transition: width 0.3s ease;
}

.energy-mix-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.progress-thin {
    height: 0.25rem;
}

.quick-action-card {
    border: 2px dashed #dee2e6;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .quick-action-card:hover {
        border-color: #0d6efd;
        background-color: rgba(13, 110, 253, 0.05);
    }

.scope2-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparison-chart-container {
    position: relative;
    height: 300px;
}

.trend-chart-container {
    position: relative;
    height: 250px;
}

.methodology-toggle {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 2rem;
    padding: 0.25rem;
}

    .methodology-toggle .btn {
        border-radius: 1.5rem;
        border: none;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
    }

        .methodology-toggle .btn.active {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
            color: white;
            box-shadow: 0 2px 4px rgba(67, 233, 123, 0.3);
        }

.factor-selector {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
}


.custom-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.main-card-item {
    transition: all 0.15s ease;
}

    .main-card-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-wave {
    position: relative;
    overflow: hidden;
}

    .btn-wave:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        transition: width 0.6s, height 0.6s;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .btn-wave:active:before {
        width: 300px;
        height: 300px;
    }

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-rounded {
    border-radius: 50%;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.text-default {
    color: #6c757d;
}

.page-header-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-input {
    min-width: 200px;
}

.btn-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd;
}

    .btn-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.2);
        border-color: rgba(13, 110, 253, 0.3);
        color: #0d6efd;
    }

.btn-secondary-light {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

    .btn-secondary-light:hover {
        background-color: rgba(108, 117, 125, 0.2);
        border-color: rgba(108, 117, 125, 0.3);
        color: #6c757d;
    }

.btn-success-light {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #198754;
}

    .btn-success-light:hover {
        background-color: rgba(25, 135, 84, 0.2);
        border-color: rgba(25, 135, 84, 0.3);
        color: #198754;
    }

.lh-1 {
    line-height: 1;
}

.fw-semibold {
    font-weight: 600;
}

.badge.bg-success-transparent {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754;
}

.badge.bg-primary-transparent {
    background-color: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd;
}

.badge.bg-warning-transparent {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107;
}

.badge.bg-danger-transparent {
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545;
}

.badge.bg-info-transparent {
    background-color: rgba(13, 202, 240, 0.1) !important;
    color: #0dcaf0;
}

.badge.bg-secondary-transparent {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d;
}

.country-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.country-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

    .country-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-left-color: #0d6efd;
    }

    .country-card.selected {
        border-left-color: #198754;
        background-color: rgba(25, 135, 84, 0.05);
    }

.emission-factor-high {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.emission-factor-medium {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.emission-factor-low {
    color: #198754;
    background-color: rgba(25, 135, 84, 0.1);
}

.mix-bar {
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    background: #f8f9fa;
}

.renewable-portion {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.nuclear-portion {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.fossil-portion {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
}

.other-portion {
    background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
}

.table th {
    border-top: none;
    font-weight: 600;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.data-source {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

.country-flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    background: #e9ecef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

.filter-section {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.quick-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
}