/**
 * WAD Secure Upload Styles
 */

/* Loading spinner animation */
.wad-upload-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: wadSpin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes wadSpin {
    to { transform: rotate(360deg); }
}

/* Success message styling */
.wad-upload-success {
    animation: wadFadeOut 3s ease-in-out forwards;
}

/* Error message styling */
.wad-upload-error {
    animation: wadFadeOut 5s ease-in-out forwards;
}

@keyframes wadFadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* Secure upload container */
.wad-secure-upload-container {
    position: relative;
    margin: 10px 0;
}

.wad-secure-upload-container .upload-button {
    background: #00e676;
    border: none;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wad-secure-upload-container .upload-button:hover {
    background: #00c864;
    transform: scale(1.02);
}

.wad-secure-upload-container .upload-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* File info display */
.wad-file-info {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.wad-file-info.success {
    color: #00e676;
}

.wad-file-info.error {
    color: #ff4444;
}
.bt-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    min-width: 320px;
    background: linear-gradient(135deg, #00e676, #00c853);
    color: #000;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 700;
    z-index: 999999;
    box-shadow: 0 8px 30px rgba(0,0,0,.45);
    transform: translateX(120%);
    transition: .35s ease;
}

.bt-toast.show {
    transform: translateX(0);
}

.bt-toast.error {
    background: linear-gradient(135deg, #ff5252, #c62828);
    color: #fff;
}

@media(max-width:768px) {
    .bt-toast {
        left: 15px;
        right: 15px;
        min-width: auto;
    }
}