* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    color: #333;
    background: url('/image/background.jpeg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}
.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    background: rgba(255,255,255,0.25);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 24px 0 10px 0;
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}
.settings-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.settings-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: rgba(255,255,255,0.25);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.stat-label {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.domain-table {
    background: rgba(255,255,255,0.25);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    backdrop-filter: blur(18px);
}
.table-header {
    background: rgba(255,255,255,0.25);
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    backdrop-filter: blur(10px);
}
.table-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}
th {
    background: rgba(255,255,255,0.25);
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
td {
    vertical-align: middle;
}
.domain-name {
    font-weight: 600;
    color: #667eea;
}
.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status.active {
    background: #d4edda;
    color: #155724;
}
.status.expired {
    background: #f8d7da;
    color: #721c24;
}
.status.pending {
    background: #fff3cd;
    color: #856404;
}
.progress-bar {
    width: 100px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 4px;
    transition: width 0.3s ease;
}
.progress-fill.warning {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}
.progress-fill.danger {
    background: linear-gradient(90deg, #dc3545, #e83e8c);
}
.progress-text {
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.registrar {
    color: #fff;
    font-weight: 500;
}
.date {
    color: #fff;
    font-size: 0.9rem;
}
.action-buttons {
    display: flex;
    gap: 8px;
}
.btn-edit {
    padding: 6px 12px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-edit:hover {
    background: #138496;
    transform: translateY(-1px);
}
.btn-delete, .btn-danger {
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-delete:hover, .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}
.btn-renew {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-renew:hover {
    background: #0056b3;
    transform: translateY(-1px);
}
.add-domain-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}
.add-domain-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.25);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(16px);
}
.modal-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}
.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-weight: 500;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #667eea;
    color: white;
}
.btn-secondary {
    background: #6c757d;
    color: white;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.search-box {
    margin-bottom: 20px;
    background: transparent;
    border-radius: 8px;
    padding: 10px 10px 0 10px;
    backdrop-filter: blur(10px);
}
.search-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
}
.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}
.settings-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.35);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.settings-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2rem;
}
.notification-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}
.notification-status.enabled {
    background: #d4edda;
    color: #155724;
}
.notification-status.disabled {
    background: #f8d7da;
    color: #721c24;
}
.expiring-domains {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.35);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: none;
}
.expiring-domains h4 {
    margin: 0 0 10px 0;
    color: #333;
}
.expiring-domain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ffeaa7;
}
.expiring-domain:last-child {
    border-bottom: none;
}
.domain-info {
    flex: 1;
}
.days-left {
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 600;
}
.settings-section label[style], .settings-section label.notification-method {
    background: rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #333 !important;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .header h1 {
        font-size: 2rem;
    }
    .settings-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    th, td {
        padding: 10px;
        font-size: 0.9rem;
    }
    .table-container {
        font-size: 0.8rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    .btn-edit, .btn-delete {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}
.sortable:after {
    content: '\25B2';
    font-size: 0.7em;
    position: absolute;
    right: 6px;
    opacity: 0.4;
    top: 50%;
    transform: translateY(-60%);
}
.sortable.sorted-asc:after {
    content: '\25B2';
    opacity: 1;
}
.sortable.sorted-desc:after {
    content: '\25BC';
    opacity: 1;
} 
