
/*-----------------------------------------------------------------*/
/* =========================================
   AUTO MODAL
========================================= */

.videoCon{
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: #141474;
    margin-bottom: 25px;
}

.autoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.autoModal.active {
    opacity: 1;
    visibility: visible;
}

.autoModalOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.autoModalContent {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.autoModal.active .autoModalContent {
    transform: translateY(0) scale(1);
}

.autoModalClose {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.autoModalClose:hover {
    background: #000;
    transform: rotate(90deg);
}

.autoModalImage {
    width: 100%;
}

.autoModalImage img {
    display: block;
    width: 100%;
    height: auto;
}

.autoModalText {
    padding: 25px 30px 30px;
    text-align: center;
}

.autoModalText h2 {
    margin: 0 0 12px;
    font-size: 25px;
    color: #222;
}

.autoModalText p {
    margin: 0 auto 20px;
    max-width: 600px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.autoModalButton {
    display: inline-block;
    padding: 12px 25px;
    background: #1d6b45;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: bold;
}

.autoModalButton:hover {
    background: #155437;
}

.autoModal.is-hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* Mobil */
@media (max-width: 600px) {

    .autoModalContent {
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .autoModalText {
        padding: 20px;
    }

    .autoModalText h2 {
        font-size: 20px;
    }

    .autoModalText p {
        font-size: 14px;
    }

    .autoModalClose {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 24px;
    }
}

.AlertBox{
    width: 100%;
    height: auto;
    float: left;
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
