/* Custom Branding CSS */

/* Header customization */
#layout-topnav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-bottom: 3px solid #5a67d8;
}

/* Logo customization */
.logo {
    background-image: url('images/custom/logo.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Login page customization */
.login-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

.login-form h2 {
    color: #5a67d8;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Button customization */
.button, input[type="submit"], input[type="button"], button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.button:hover, input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

/* Sidebar customization */
#layout-sidebar {
    background: #f8f9ff !important;
    border-right: 1px solid #e2e8f0;
}

/* Folder list customization */
.treelist li.selected > .folderlist-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* Message list customization */
.messagelist tr.selected {
    background: rgba(102, 126, 234, 0.1) !important;
}

/* Footer customization */
#layout-footer {
    background: #2d3748 !important;
    color: #cbd5e0 !important;
    text-align: center;
    padding: 1rem;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mainview {
    animation: fadeInUp 0.5s ease-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .login-form {
        margin: 1rem;
        padding: 1.5rem;
    }
}
