/* Resources Page Styles */

#navbar-template {
    background-color: #051A2F !important;
    padding-bottom: 10px;
}

.landing-page-drk {
    background-color: #fff !important;
}

.resources-page {
    padding: 0;
    background-color: #fff;
}

.resources-page .main-heading h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2em;
    color: #051A2F !important;
    text-align: left;
}

.resources-page .main-heading p {
    font-size: 18px;
    line-height: 1.6em;
    color: #051A2F !important;
    text-align: left;
}

/* Resource Cards */
.resource-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

.resource-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.resource-card {
    height: 100%;
}

/* Card Body - Base Styles (applied to all cards) */
.resource-card .card-body {
    background-color: #f1f2f5;
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: left;
    transition: background-color 0.3s ease;
}

/* Resource Icon Wrapper */
.resource-icon-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.resource-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* Card Titles - Base Styles */
.resource-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3em;
    margin-bottom: 1rem;
    text-align: left;
}

/* Card Text - Base Styles */
.resource-card .card-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6em;
    text-align: left;
    color: #666;
}

/* Active Card Styles */
.resource-card-active {
    cursor: pointer;
}

/* Scanner Card (Blue #7098e0) - Hover Background */
.resource-card-scanner:hover .card-body {
    background-color: rgba(112, 152, 224, 0.1);
}

/* AI Trading Card (Cyan #5bafd9) - Hover Background */
.resource-card-ai:hover .card-body {
    background-color: rgba(91, 175, 217, 0.1);
}

/* Strategy Card (Purple #9170e0) - Hover Background */
.resource-card-strategy:hover .card-body {
    background-color: rgba(145, 112, 224, 0.1);
}

.resource-card-active .card-title {
    color: #051a2f;
    transition: color 0.3s ease;
}

.resource-card-active .card-text {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

/* Disabled Card Styles */
.resource-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

.resource-card-disabled .card-body {
    opacity: 0.85;
}

.resource-card-disabled .card-title {
    color: #999;
}

.resource-card-disabled .card-text {
    color: #999;
}

.resource-card-disabled .resource-icon {
    opacity: 0.6;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .resources-page .main-heading h1 {
        font-size: 2rem;
    }

    .resources-page .main-heading p {
        font-size: 16px;
    }

    .resource-card .card-title {
        font-size: 1.25rem;
    }

    .resource-card .card-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .resources-page .main-heading h1 {
        font-size: 1.75rem;
    }

    .resources-page .main-heading p {
        font-size: 15px;
    }

    .resource-card .card-body {
        padding: 1.5rem !important;
    }
}
