/*
    Theme Name: ElectricBreak
    Author: Petko Petkov
    Author URI: http://electricbreak.com/
    Description: Advanced Wordpress Theme
    Version: 1.0
*/


html {
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 { font-size: 24px; }
h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif; }

header {
    margin-bottom: 15px;
}

#navbarNav div ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: left;
    font-size: 0;

}

#navbarNav div ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===== LOGIN & REGISTRATION FORMS ===== */
.card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-body {
    border-radius: 15px;
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    border: 1px solid #dee2e6;
    border-right: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-control {
    border-radius: 0 10px 10px 0;
    border-left: none;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.25);
    border-color: #0dcaf0;
    transform: scale(1.02);
}

.input-group:focus-within .input-group-text {
    background: linear-gradient(135deg, #0dcaf0 0%, #0bb5d7 100%);
    color: white;
    border-color: #0dcaf0;
}

.btn-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0bb5d7 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-info: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;
}

.btn-info:hover:before {
    left: 100%;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.3);
}

.btn-outline-info {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #0dcaf0 0%, #0bb5d7 100%);
    border-color: #0dcaf0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 202, 240, 0.3);
}

.form-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}

.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
}

.text-info {
    color: #0dcaf0 !important;
    -webkit-text-fill-color: unset !important;
}

/* Fix text-light to override gradient text effects */
.text-light,
.text-light * {
    color: #f8f9fa !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    background-clip: unset !important;
}

/* Ensure white text on dark backgrounds */
.bg-info .text-light,
.bg-dark .text-light,
.bg-secondary .text-light {
    color: #ffffff !important;
    -webkit-text-fill-color: unset !important;
}

/* Badge text color fixes - for count badges only */
.badge {
    color: inherit;
}

.badge.bg-dark,
.badge.bg-dark.text-light {
    color: #ffffff !important;
    -webkit-text-fill-color: unset !important;
}

.badge span {
    color: white !important;
}

/* Card header text fixes */
.card-header.bg-info {
    color: #ffffff !important;
}

.card-header.bg-info .text-light {
    color: #ffffff !important;
}

.card-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 2rem 0;
}

.form-check-input:checked {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.form-check-input:focus {
    border-color: #0dcaf0;
    box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.25);
}

/* ===== USER INFO DROPDOWN MENU ===== */
.user-info-dropdown .dropdown-toggle {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info-dropdown .dropdown-toggle:hover,
.user-info-dropdown .dropdown-toggle[aria-expanded="true"] {
    background-color: #e8f4f8 !important;
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.2);
}

.user-info-dropdown .dropdown-menu {
    border-radius: 12px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info-dropdown .dropdown-item {
    transition: all 0.2s ease;
    color: #212529;
}

.user-info-dropdown .dropdown-item:hover {
    background-color: #f0f8fb;
    color: #0dcaf0;
    padding-left: 1.5rem;
}

.user-info-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

.user-info-dropdown .dropdown-item.text-danger:hover {
    background-color: #ffe8e8;
    color: #dc3545;
}

.user-info-dropdown .dropdown-header {
    padding: 1rem !important;
}

.user-info-dropdown img.rounded-circle {
    border: 2px solid #0dcaf0;
    transition: all 0.2s ease;
}

.user-info-dropdown .dropdown-toggle:hover img.rounded-circle {
    border-color: #0bb5d7;
    box-shadow: 0 0 12px rgba(13, 202, 240, 0.3);
}

/* Profile page styling */
.profile-avatar img {
    border: 3px solid #0dcaf0;
    padding: 3px;
    background: white;
    box-shadow: 0 4px 12px rgba(13, 202, 240, 0.2);
}

.profile-info .profile-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.profile-info .profile-field p {
    margin-bottom: 0;
}

/* Animation for form elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.mb-3, .mb-4 {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.mb-3:nth-child(1) { animation-delay: 0.1s; }
.mb-3:nth-child(2) { animation-delay: 0.2s; }
.mb-3:nth-child(3) { animation-delay: 0.3s; }
.mb-3:nth-child(4) { animation-delay: 0.4s; }
.mb-4 { animation-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 2rem 1.5rem;
    }

    .btn-info, .btn-outline-info {
        padding: 10px 20px;
        font-size: 14px;
    }

    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .user-info-dropdown .dropdown-toggle {
        padding: 6px 8px !important;
    }

    .user-info-dropdown .dropdown-toggle small,
    .user-info-dropdown .dropdown-toggle strong {
        display: none;
    }

    .user-info-dropdown .dropdown-menu {
        min-width: 220px;
    }

    #header-search-form {
        max-width: 200px;
    }

    #header-search-form .form-control {
        padding: 8px 12px;
        font-size: 14px;
    }

    #header-search-form .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Focus states for better accessibility */
.form-control:focus + .input-group-text,
.input-group-text:focus {
    border-color: #0dcaf0;
}

/* Custom scrollbar for form areas if needed */
.form-control::-webkit-scrollbar {
    width: 6px;
}

.form-control::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.form-control::-webkit-scrollbar-thumb {
    background: #0dcaf0;
    border-radius: 3px;
}

.form-control::-webkit-scrollbar-thumb:hover {
    background: #0bb5d7;
}

#navbarNav div ul li {
    display: inline-block;
    font-size: 14px;
}

#navbarNav div ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 15px 45px;
    text-decoration: none;
    background-color: #0dcaf0;
    font-weight: bold;
    text-transform: uppercase;

}

#navbarNav div ul li a:hover {
    background-color: #31d2f2;

}

ol.breadcrumb {
    margin: 0px;
    padding: 0px;
}

ol.breadcrumb a {
    font-size: 13px;
    text-decoration: underline;
    color: black;
}

ol.breadcrumb a:hover {
    text-decoration: none;
}

.breadcrumb {
    padding: 0.4rem 0 0.4rem 0;
    margin-bottom: 0.75rem;
    background: transparent;
    font-size: 13px;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #0dcaf0;
    padding: 0 0.5rem;
}

.breadcrumb .breadcrumb-item a {
    color: #0dcaf0;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb .breadcrumb-item.active {
    color: #495057;
    font-weight: 700;
}

.post-navigation .nav-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.post-navigation .btn {
    padding: 1rem 1rem;
}

.post-number {
    display: inline-block;
    margin-right: 0.75rem;
    color: #0dcaf0;
    font-weight: 700;
    font-size: 13px;
}

.post-number::after {
    content: "";
}

.post-tags a,
.tag-badge {
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    color: #0dcaf0 !important;
}

.badge.category-badge {
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    color: #ffffff !important;
}

/* Tag badges on hover */
.post-tags a:hover,
.tag-badge:hover {
    text-decoration: none;
    transform: translateY(-1px);
    color: #ffffff !important;
    background-color: #0dcaf0 !important;
}

/* Category badges on hover */
.category-badge:hover {
    text-decoration: none;
    transform: translateY(-1px) scale(1.03);
    color: #ffffff !important;
    background-color: #0b95c8 !important;
    box-shadow: 0 0.4rem 1rem rgba(11, 149, 200, 0.2);
}

.badge.bg-info,
.badge.bg-info.text-light {
    color: #ffffff !important;
    -webkit-text-fill-color: unset !important;
}

.badge.bg-dark,
.badge.bg-dark.text-light {
    color: #ffffff !important;
    -webkit-text-fill-color: unset !important;
}

.home-dashboard .card {
    min-height: 100%;
}

.home-dashboard .list-group-item {
    background: transparent;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.home-dashboard .list-group-item a {
    text-decoration: none;
}

.home-dashboard .list-group-item a:hover {
    text-decoration: underline;
}

.home-dashboard .list-group-item small {
    font-size: 12px;
}

.home-dashboard .list-group-item p {
    margin-bottom: 0;
    font-size: 12px;
}

.home-dashboard .card-header .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.85rem;
}

.home-dashboard .card-header {
    position: relative;
}


.comments-area {
    margin-top: 2rem;
}

.comments-title {
    font-size: 16px;
    font-weight: 700;
    color: #0dcaf0;
    margin-bottom: 1rem;
}

.comment-list {
    margin: 0;
    padding: 0;
}

.comment-card {
    border-radius: 0.85rem;
    background: rgba(13, 202, 240, 0.05);
    border-color: #0dcaf0;
}

.comment-meta {
    gap: 1rem;
}

.comment-author {
    margin-bottom: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.comment-text {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 12px;
}

.comment-reply-link .btn {
    color: #0dcaf0;
    border-color: #0dcaf0;
}

.comment-reply-link .btn:hover,
.comment-reply-link .btn:focus {
    color: #ffffff;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    color: #0dcaf0;
    text-decoration: none;
    font-weight: 600;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
    text-decoration: underline;
}

.comment-form {
    margin-top: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.25rem;
}

.comment-form label {
    font-weight: 600;
}

.comment-form .form-control {
    border-radius: 0.7rem;
    box-shadow: none;
    border-color: rgba(13, 202, 240, 0.5);
}

.comment-form .form-text,
.comment-form .comment-notes {
    font-size: 0.92rem;
    color: #6c757d;
}

.comment-form .btn-info {
    min-width: 120px;
}

.comment-form .invalid-feedback {
    display: none;
}

.comment-form .was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.no-comments {
    border-radius: 0.75rem;
}

.archive-header {
    padding: 1rem 1rem 0.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0dcaf0;
}

.archive-title {
    margin-bottom: 0.5rem;
    font-size: 1.45rem;
    color: #0d6efd;
    text-transform: capitalize;
}

.archive-description {
    margin-bottom: 0;
    color: #495057;
    font-size: 0.98rem;
}

.search-form .form-control {
    min-width: 0;
}

.search-form .btn {
    min-width: 8rem;
}

.search-empty {
    padding: 1rem;
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 0.75rem;
    background: rgba(13, 202, 240, 0.05);
    color: #0d6efd;
}

.side-widget {
    padding: 0px;
    margin: 0px;
}

.side-widget div.card-header {
    color: white;
}

.side-widget ul {
    list-style-type: none;
    margin-bottom: 0px;
}

.side-widget ul.wp-block-categories-list {
    margin: 0px;
    padding: 10px;
}

.side-widget ul.wp-block-latest-posts__list {
    padding: 10px;
}

.side-widget p.wp-block-tag-cloud {
    padding: 10px;
    margin-bottom: 0px;
}

.side-widget p.wp-block-tag-cloud a {
    color: white;
}

.side-widget p.wp-block-tag-cloud a:hover {
    text-decoration: none;
}

.side-widget ul li {
    margin-bottom: 0px;
}

.side-widget ul li a {
    text-decoration: none;
    color: white;
}

.side-widget ul li a:hover {
    text-decoration: underline;
}
