﻿

/* --- Buttons --- */
.Popup_ActionButton {
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    border: 1px solid transparent;
    font-size: 1rem;
    background-color: #E58400;
    color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #C46800;
}

/*
.btn-secondary {
    background-color: white;
    color: #374151; 
    border-color: #d1d5db; 
}

    .btn-secondary:hover {
        background-color: #f9fafb; 
    }
        */
.btn-close {
    background: none;
    border: none;
    color: #9ca3af; /* gray-400 */
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 150ms;
}

    .btn-close:hover {
        color: #4b5563; /* gray-600 */
    }

/* --- Modal Structure --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.5); /* gray-900 / 0.5 */
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 300ms ease-in-out;
}

.modal-container {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 91.666667%; /* 11/12 */
    max-width: 28rem; /* max-w-md */
    z-index: 50;
    transition: all 300ms ease-out;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
}

.modal-title {
    font-size: 1.25rem; /* text-lg */
    font-weight: 600;
    color: #1f2937; /* gray-800 */
}

.modal-body {
    padding: 1.5rem;
    color: #4b5563; /* gray-600 */
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f9fafb; /* gray-50 */
    border-top: 1px solid #e5e7eb; /* gray-200 */
}

/* --- Animation Utility Classes --- */

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.scale-95 {
    transform: scale(0.95);
}

.scale-100 {
    transform: scale(1);
}

div.LoadingWheel {
    display: block;
    margin: 0 auto;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #E58400;
    border-bottom: 16px solid #E58400;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

div.WaitContainer {
    width: 91.666667%; /* 11/12 */
    max-width: 28rem; /* max-w-md */
    z-index: 50;
    /*transition: all 300ms ease-out;*/
    overflow: hidden;
    text-align: center;
    align-items: center;
    justify-content: center;
}

div.WaitMessage {
    padding: 12px;
}

span.WaitMessage {
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    width: 500px;
    max-width: 22rem;
    line-height: 1.4;
}
