/**
 * Public styles for TreceCourses plugin
 *
 * @since      1.0.0
 * @package    TreceCourses
 */

/* Course single display */
.trececourse-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.trececourse-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trececourse-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.trececourse-title {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    color: #333;
    line-height: 1.3;
}

.trececourse-thumbnail {
    margin-bottom: 20px;
}

.trececourse-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.trececourse-description {
    line-height: 1.8;
    color: #555;
    font-size: 1.1em;
}

.trececourse-description h1,
.trececourse-description h2,
.trececourse-description h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.trececourse-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.trececourse-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.trececourse-access-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 1.1em;
}

.trececourse-access-info .dashicons {
    color: #2e7d32;
}

/* Access denied */
.trececourse-access-denied {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
}

.access-denied-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.access-denied-container .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: #d32f2f;
    margin-bottom: 20px;
}

.access-denied-container h2 {
    font-size: 2em;
    margin: 0 0 15px 0;
    color: #333;
}

.access-denied-container p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.access-denied-container .button {
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.access-denied-container .button:hover {
    background: #005a87;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .trececourse-content {
        padding: 20px;
    }

    .trececourse-title {
        font-size: 2em;
    }

    .access-denied-container {
        padding: 40px 20px;
    }

    .access-denied-container .dashicons {
        font-size: 60px;
        width: 60px;
        height: 60px;
    }
}