/* Global DigimonScraper Styles */

/* Base styles */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #e8f0fe;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* General text elements */
p, span, div {
    color: #e8f0fe;
}

h1, h2, h3, h4, h5, h6 {
    color: #ff6b35;
}

/* Navbar styles */
.navbar {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: #b8c6db !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ff6b35 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Container styles */
.container, .container-fluid {
    padding-top: 2rem;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    color: #e8f0fe;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: #ff6b35;
    border-radius: 16px 16px 0 0;
}

.card-body {
    color: #e8f0fe;
}

.card-body h1, .card-body h2, .card-body h3, .card-body h4, .card-body h5, .card-body h6 {
    color: #ff6b35;
}

/* Skill detail specific styling */
.skill-detail-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-detail-container .table {
    margin-bottom: 0;
    background: transparent;
    border: none;
}

.skill-detail-container .table th {
    background: transparent;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
}

.skill-detail-container .table td {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e8f0fe;
    padding: 0.5rem 0.8rem;
}

/* Table styles */
.table {
    background: rgba(255, 255, 255, 0.02);
    color: #e8f0fe;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    border-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.table td {
    border-color: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.01);
    color: #e8f0fe;
}

.table-sm th {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}

.table-sm td {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}

.table-hover tbody tr:hover {
    background: rgba(255, 107, 53, 0.08);
    color: #fff;
}

.table-hover tbody tr:hover td {
    background: transparent;
    color: #fff;
}

.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

/* Button styles */
.btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary, .btn-outline-warning {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
}

.btn-primary:hover, .btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #b8c6db;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Form controls */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #b8c6db;
    transition: all 0.3s ease;
    padding: 0.7rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    color: #fff;
    outline: none;
}

.form-control:disabled, .form-select:disabled {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(184, 198, 219, 0.4);
    opacity: 0.6;
    cursor: not-allowed;
}

.form-control::placeholder {
    color: #7a8aa3;
}

.form-select option {
    background: #1a1a2e;
    color: #b8c6db;
}

.form-label {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.form-check-input:checked {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.form-check-input:disabled {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    cursor: not-allowed;
}

.form-check-input:focus {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-check-label {
    color: #b8c6db;
    margin-left: 0.5rem;
}

/* Dropdown styles */
.dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: #b8c6db;
    transition: all 0.3s ease;
    padding: 0.7rem 1rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
}

.dropdown-toggle::after {
    border-top-color: #ff6b35;
}

/* Tooltip styles */
.info-tooltip {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: rgba(255, 107, 53, 0.8);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
    cursor: help;
    line-height: 16px;
    position: relative;
}

.info-tooltip:hover {
    background: #ff6b35;
}

.tooltip .tooltip-inner {
    background: rgba(0, 0, 0, 0.9);
    color: #b8c6db;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    max-width: 300px;
    font-size: 0.85rem;
    line-height: 1.4;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: rgba(0, 0, 0, 0.9);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: rgba(0, 0, 0, 0.9);
}

/* Alert styles */
.alert {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #b8c6db;
    backdrop-filter: blur(10px);
}

.alert-info {
    border-color: rgba(13, 202, 240, 0.3);
    background: rgba(13, 202, 240, 0.05);
}

.alert-danger {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

.alert-success {
    border-color: rgba(25, 135, 84, 0.3);
    background: rgba(25, 135, 84, 0.05);
}

/* Badge styles */
.badge {
    background: rgba(255, 107, 53, 0.8);
    color: white;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

/* Input group styles */
.input-group .form-control {
    border-right: none;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ff6b35;
}

/* Custom checkbox and radio styles */
.form-check-input[type="checkbox"] {
    border-radius: 4px;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

/* Pagination styles */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c6db;
    margin: 0 2px;
    border-radius: 8px;
}

.pagination .page-link:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.pagination .page-item.active .page-link {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

/* Icon styles */
.icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.icon-img:hover {
    transform: scale(1.1);
}

/* Links */
a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f7931e;
}

/* List group styles */
.list-group {
    background: transparent;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8f0fe;
    margin-bottom: 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #fff;
}

.list-group-item strong {
    color: #ff6b35;
}

.list-group-item a {
    color: #ff6b35;
    text-decoration: none;
}

.list-group-item a:hover {
    color: #f7931e;
}

/* Text colors */
.text-muted {
    color: #7a8aa3 !important;
}

.text-primary {
    color: #ff6b35 !important;
}

.text-light {
    color: #e8f0fe !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .container, .container-fluid {
        padding-top: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}
