/* Reset dan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

/* Security Notice */
.security-notice {
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.security-notice i {
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 Z"/></svg>');
    background-size: cover;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 3rem;
    background: white;
    color: #3498db;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.logo h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.security-badge {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Navigasi */
nav {
    background: white;
    border-bottom: 3px solid #3498db;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}

nav ul li {
    flex: 1;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav ul li a:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateY(-2px);
}

nav ul li a.active {
    color: #3498db;
    border-bottom-color: #3498db;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

nav ul li a i {
    font-size: 1.2rem;
}

/* Main content */
main {
    padding: 30px;
    background: #f8f9fa;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.security-feature {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.security-feature i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4cd137;
}

.security-feature h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.security-feature p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dashboard-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 5px 15px;
    border-radius: 20px;
}

.stat-value.danger {
    background: #ffeaea;
    color: #e74c3c;
}

.stat-value.warning {
    background: #fff4e6;
    color: #f39c12;
}

.stat-value.info {
    background: #e6f3ff;
    color: #3498db;
}

.guide-list {
    list-style: none;
    padding: 0;
}

.guide-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-list li i {
    color: #2ecc71;
}

/* Info Section */
.info-section {
    margin-top: 40px;
}

.info-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #e74c3c;
}

.warning-box p {
    margin-bottom: 15px;
}

.warning-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.warning-box li {
    margin-bottom: 8px;
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Form Styles */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-header p {
    color: #7f8c8d;
}

.security-notice-box {
    background: #e8f4fd;
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.security-notice-box i {
    font-size: 2rem;
    color: #3498db;
}

.secure-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f1f1;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background: #f8f9fa;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Security Verification */
.security-verification {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 2px dashed #3498db;
}

.captcha-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.captcha-math {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.captcha-num {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
}

.captcha-input {
    display: flex;
    gap: 10px;
}

.btn-refresh {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-refresh:hover {
    background: #2980b9;
}

.security-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.security-check input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.security-check label {
    font-weight: normal;
    color: #555;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f1f1f1;
}

.btn-submit {
    flex: 1;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #27ae60, #219653);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-reset {
    flex: 0.5;
    background: #95a5a6;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-reset:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert.error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert h4 {
    margin-bottom: 5px;
}

/* Login Container */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 50%;
}

.login-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
}

.security-banner {
    background: #e8f4fd;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #3498db;
    font-weight: 600;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 15px;
    color: #7f8c8d;
}

.input-with-icon input {
    padding-left: 45px;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-display {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    flex: 1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.login-footer {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.login-footer p {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-footer ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.login-footer li {
    color: #7f8c8d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.security-info {
    border-top: 2px solid #f1f1f1;
    padding-top: 20px;
}

.security-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Admin Dashboard */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

.sidebar {
    width: 280px;
    background: white;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-info i {
    font-size: 2.5rem;
}

.user-info h4 {
    margin-bottom: 5px;
}

.user-role {
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.session-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: #f8f9fa;
    color: #3498db;
    border-left-color: #3498db;
}

.sidebar-nav a.active {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent);
    color: #3498db;
    border-left-color: #3498db;
    font-weight: 600;
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
}

.logout-item {
    margin-top: auto;
}

.logout-item a {
    color: #e74c3c;
}

.logout-item a:hover {
    background: #ffeaea;
    color: #e74c3c;
}

.sidebar-footer {
    padding: 20px;
    border-top: 2px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2ecc71;
    font-size: 0.9rem;
    font-weight: 600;
}

.server-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Admin Main */
.admin-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f1f1;
}

.header-left h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left p {
    color: #7f8c8d;
}

.header-right {
    display: flex;
    gap: 20px;
}

.security-badge, .ip-display {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.security-badge {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.ip-display {
    background: #f8f9fa;
    color: #2c3e50;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.primary {
    background: #e6f3ff;
    color: #3498db;
}

.stat-icon.warning {
    background: #fff4e6;
    color: #f39c12;
}

.stat-icon.danger {
    background: #ffeaea;
    color: #e74c3c;
}

.stat-icon.success {
    background: #e6f7ed;
    color: #2ecc71;
}

.stat-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Dashboard Sections */
.dashboard-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

.section-header h3 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-view-all {
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-view-all:hover {
    background: #2980b9;
}

/* Activity List */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.3s ease;
}

.activity-item:hover {
    background: #f8f9fa;
}

.activity-item.severity-critical {
    border-left: 4px solid #e74c3c;
}

.activity-item.severity-high {
    border-left: 4px solid #f39c12;
}

.activity-item.severity-medium {
    border-left: 4px solid #3498db;
}

.activity-item.severity-low {
    border-left: 4px solid #2ecc71;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-item.severity-critical .activity-icon {
    background: #ffeaea;
    color: #e74c3c;
}

.activity-item.severity-high .activity-icon {
    background: #fff4e6;
    color: #f39c12;
}

.activity-item.severity-medium .activity-icon {
    background: #e6f3ff;
    color: #3498db;
}

.activity-item.severity-low .activity-icon {
    background: #e6f7ed;
    color: #2ecc71;
}

.activity-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.activity-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.activity-content small {
    color: #95a5a6;
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
}

.activity-content small i {
    margin-right: 5px;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #95a5a6;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #bdc3c7;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.text-center {
    text-align: center;
}

code {
    background: #f8f9fa;
    padding: 3px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #e74c3c;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff4e6;
    color: #f39c12;
}

.status-disetujui {
    background: #e6f7ed;
    color: #2ecc71;
}

.status-ditolak {
    background: #ffeaea;
    color: #e74c3c;
}

.status-selesai {
    background: #e6f3ff;
    color: #3498db;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-action.view {
    background: #e6f3ff;
    color: #3498db;
}

.btn-action.edit {
    background: #fff4e6;
    color: #f39c12;
}

.btn-action.approve {
    background: #e6f7ed;
    color: #2ecc71;
}

.btn-action.delete {
    background: #ffeaea;
    color: #e74c3c;
}

.btn-action:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Security Overview */
.security-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.security-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.security-metric {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 2rem;
    color: #2c3e50;
}

.security-metric i {
    font-size: 2.5rem;
}

.security-item p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 30px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: slideInRight 0.5s ease;
    border-left: 4px solid;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.info {
    border-left-color: #3498db;
}

.notification.warning {
    border-left-color: #f39c12;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification button {
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 10px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: fixed;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-main {
        padding: 20px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .security-overview {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom p {
        flex-direction: column;
        gap: 10px;
    }
}