.cav-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
    padding: 20px;
}

.cav-login-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.cav-login-logo {
    max-width: 200px;
    display: block;
    margin: 0 auto 20px;
}

.cav-login-title {
    text-align: center;
    margin: 0 0 10px 0;
}

.cav-login-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.cav-login-form input[type="text"],
.cav-login-form input[type="password"],
.cav-login-form input[type="email"] {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    line-height: normal !important;
}

.cav-login-form label {
    display: block !important;
    margin-bottom: 5px;
    font-weight: bold;
}

.cav-login-box input.input {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    display: block !important;
    height: auto !important;
    background-color: #fff !important;
    color: #000 !important;
}

.cav-login-form p {
    margin-bottom: 15px;
}

.cav-login-form .forgot-password {
    text-align: right;
    font-size: 14px;
}

.cav-login-form .rememberme {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cav-login-form .button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.cav-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cav-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cav-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cav-panel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cav-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cav-panel-header h1 {
    margin: 0;
}

.cav-logout-btn {
    background: #d63638;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
}

.cav-logout-btn:hover {
    background: #c53030;
}

.cav-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cav-panel-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cav-panel-card h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cav-status-label {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.cav-alert {
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.cav-alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.cav-alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cav-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.cav-quick-actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cav-quick-actions-list li {
    margin-bottom: 10px;
}

.cav-quick-actions-list .button {
    width: 100%;
    text-align: center;
}

.cav-payments-table {
    width: 100%;
    border-collapse: collapse;
}

.cav-payments-table th,
.cav-payments-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cav-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.cav-badge-success { background: #28a745; color: #fff; }
.cav-badge-warning { background: #ffc107; color: #000; }
.cav-badge-danger { background: #dc3545; color: #fff; }

.cav-videos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.cav-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cav-video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cav-video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.cav-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cav-video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.3);
}

.cav-video-progress-fill {
    height: 100%;
    background: #2271b1;
}

.cav-video-completed-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.cav-video-info {
    padding: 15px;
}

.cav-video-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.cav-video-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.cav-video-duration {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.cav-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cav-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.cav-modal-video {
    max-width: 900px;
}

.cav-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.cav-modal-close:hover {
    color: #333;
}

.cav-video-container {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
}

.cav-video-container video {
    width: 100%;
    max-height: 70vh;
}

.cav-watermark-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.cav-watermark {
    position: absolute;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    padding: 5px 10px;
    pointer-events: none;
    user-select: none;
}

.cav-watermark-top {
    top: 10px;
    left: 10px;
}

.cav-watermark-bottom {
    bottom: 50px;
    right: 10px;
}

.cav-watermark-moving {
    transition: all 1s ease;
}

.cav-account-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

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

.cav-account-form .form-table {
    width: 100%;
}

.cav-account-form .form-table th {
    padding: 15px 0;
    text-align: left;
    width: 40%;
}

.cav-account-form .form-table td {
    padding: 15px 0;
}

.cav-account-form input[type="text"],
.cav-account-form input[type="email"],
.cav-account-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cav-recuperar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
    padding: 20px;
}

.cav-recuperar-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.cav-recuperar-box h1 {
    text-align: center;
    margin-bottom: 20px;
}

.cav-recuperar-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.cav-back-link {
    text-align: center;
    margin-top: 20px;
}

.cav-reportar-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

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

.cav-period-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cav-period-buttons .button {
    min-width: 100px;
}

@media (max-width: 768px) {
    .cav-panel-header {
        flex-direction: column;
        gap: 15px;
    }

    .cav-videos-header {
        flex-direction: column;
        gap: 15px;
    }

    .cav-login-box,
    .cav-recuperar-box {
        padding: 20px;
    }

    .cav-period-buttons {
        flex-direction: column;
    }

    .cav-period-buttons .button {
        width: 100%;
    }
}
