/* Starteri access message stiilid */

/* starter-access-control.css */

/* Admin notice bar styles */
#ac-starter-admin-notice {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: opacity 0.5s ease-out;
}

/* User notice bar styles */
#ac-starter-user-notice {
    background-color: #2d8ebf;
    border: 1px solid #bce8f1;
    color: #31708f;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: opacity 0.5s ease-out;
}

.ac-starter-access-info {
    color: #ffffff;
}

/* General body styles for the modal page */
body.ac-modal-open {
    overflow: hidden; /* Disable scrolling when modal is open */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Post content container (simulates background content) */
.ac-post-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(to bottom, #a461a3 15%, #4048a4 100%);
    border-radius: 12px; /* Ümarad nurgad */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Pehme vari */
    line-height: 1.8;
    position: relative;
    z-index: 1;
    color: #ffffff; /* Lisatud tekstivärv, et sisu oleks taustal loetav */
}

/* Modal background overlay */
.ac-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1; /* Always visible when this HTML is displayed */
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal content container */
.ac-modal-content {
    background: linear-gradient(to bottom, #a461a3 15%, #4048a4 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(0); /* Always at initial position */
    transition: transform 0.3s ease;
}

/* Modal title */
.ac-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Modal message */
.ac-modal-message {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Modal button/link base styles (applied to both primary and secondary) */
.ac-modal-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Hoiab teksti nupul ühel real */
    /* Värvid eemaldatud, need tulevad sinu üldistest stiilidest */
}

/* New: Button container for flex layout */
.ac-modal-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    align-items: center;
    gap: 15px; /* Spacing between buttons and text */
    margin-top: 20px; /* Space above the button group */
}

/* New: "Or" text style */
.ac-or-text {
    color: #ffffff; /* Valge värv sinu gradiendi taustal */
    font-size: 1rem;
    font-weight: 600;
}

/* Tailwind CSS klasside emuleerimine, kuna neid ei saa otse siin muuta */
.ac-text-3xl {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
}

.ac-font-bold {
    font-weight: 700;
}

.ac-mb-6 {
    margin-bottom: 1.5rem; /* 24px */
}

.ac-text-center {
    text-align: center;
}