/**
 * Video Security API Key Generator Frontend Styles
 */

/* Login and Register Forms */
.vs-login-form,
.vs-register-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #dddddd38;
    border-radius: 4px;
}

.vs-login-form label,
.vs-register-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.vs-login-form input[type="text"],
.vs-login-form input[type="email"],
.vs-login-form input[type="password"],
.vs-register-form input[type="text"],
.vs-register-form input[type="email"],
.vs-register-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #dddddd38;
    background: none;
    border-radius: 3px;
}

.vs-login-form input[type="checkbox"] {
    margin-right: 5px;
}

.vs-login-form input[type="submit"],
.vs-register-form input[type="submit"] {
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.vs-login-form input[type="submit"]:hover,
.vs-register-form input[type="submit"]:hover {
    background: #005177;
}

/* Profile Page */
.vs-profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.vs-profile-section {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.vs-profile-section h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.vs-profile-form label,
.vs-password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.vs-profile-form input[type="text"],
.vs-profile-form input[type="email"],
.vs-password-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.vs-profile-form input[disabled] {
    background: #f2f2f2;
}

/* API Keys Table */
.vs-api-keys-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.vs-api-keys-table th,
.vs-api-keys-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.vs-api-keys-table th {
    background-color: #f2f2f2;
}

.vs-api-key-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.vs-status-active {
    background-color: #46b450;
    color: white;
}

.vs-status-inactive, 
.vs-status-revoked {
    background-color: #dc3232;
    color: white;
}

.vs-status-expired {
    background-color: #ffb900;
    color: #23282d;
}

/* Messages */
.vs-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

.vs-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* API Key Usage Info */
.vs-api-key-usage {
    background-color: #e9f7fd;
    border-left: 4px solid #00a0d2;
    padding: 15px;
    margin-top: 20px;
}

.vs-api-key-usage h4 {
    margin-top: 0;
}

.vs-api-key-usage ol {
    margin-left: 20px;
} 