/* ogren.css - PinooFarm Akademi Stilleri */

.learning-journey {
    padding: 20px;
}

.level-intro {
    background-color: #e6f7ff;
    border: 1px solid #a3d9ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
    color: #005000;
}

.level {
    margin-bottom: 40px;
}

.level h2 {
    color: #005000;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.module-path {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.module-stop {
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 20px;
    width: 40%;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.path-line {
    flex-grow: 1;
    height: 4px;
    background-color: #dee2e6;
}

/* Modül Durumları */
.module-stop.locked {
    background-color: #f1f3f5;
    color: #adb5bd;
}

.module-stop.locked .module-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.module-stop.active {
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.module-stop.completed {
    border-color: #28a745;
    background-color: #e6ffe6;
}

.module-stop.completed::after {
    content: '✅';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
}

.module-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.module-content p {
    margin-bottom: 15px;
}

.start-module-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.start-module-btn:disabled {
    background-color: #ced4da;
    cursor: not-allowed;
}

.module-badge {
    margin-top: 15px;
    font-style: italic;
    color: #6c757d;
}

/* Modal Stilleri */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px; 
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
}
