/**
 * SmartAct - Premium Modals & Forms
 * Build v34.0 (Elite Refresh)
 */

/* PIN Screen */
.lock-screen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lock-content {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.lock-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.lock-content p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 40px;
    opacity: 0.7;
}

.pin-display {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.filled {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.1);
}

.numpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.numpad button {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.02);
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
}

.numpad button:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
}

.numpad button.action {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 600;
}

.numpad button.empty {
    visibility: hidden;
}

/* Modal System */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(165deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 35px;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.02);
}

.modal:not(.hidden) .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

/* Premium Close Button */
.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

/* Premium Inputs */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 25px;
}

.info-row label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.info-row span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* Premium Buttons */
.btn {
    padding: 16px 24px;
    border-radius: 18px;
    border: none;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn.danger {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.btn.danger:hover {
    background: #e74c3c;
    color: white;
}

.btn.small {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 14px;
}

.btn:active {
    transform: scale(0.96);
}

hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 25px 0;
}
