/* Base Styles */
body.cloudmonkey-page {
    background: linear-gradient(135deg, #18122B 0%, #251B3E 100%);
    color: #F3F3F7;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Login Form Styles */
.cloudmonkey-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #18122B 0%, #251B3E 100%);
    padding: 20px;
}

.cloudmonkey-login-box {
    background: linear-gradient(135deg, #221A36 0%, #2D2346 100%);
    border: 1px solid #3B2F5A;
    border-radius: 18px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(127, 86, 217, 0.18);
    color: #F3F3F7;
}

.cloudmonkey-login-box h2 {
    color: #B983FF;
    font-size: 1.8em;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-align: center;
}

.login-description {
    color: #B5AEE4;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.cloudmonkey-login-box .form-group {
    margin-bottom: 20px;
}

.cloudmonkey-login-box label {
    display: block;
    margin-bottom: 8px;
    color: #B5AEE4;
    font-weight: 600;
}

.cloudmonkey-login-box .input {
    width: 100%;
    padding: 12px;
    border: 1px solid #3B2F5A;
    border-radius: 8px;
    background: #1A142B;
    color: #F3F3F7;
    font-size: 1em;
    transition: border 0.2s;
}

.cloudmonkey-login-box .input:focus {
    border: 1.5px solid #B983FF;
    outline: none;
}

.cloudmonkey-login-box .remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.cloudmonkey-login-box .remember-me label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.cloudmonkey-login-box .remember-me input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #B983FF;
}

.cloudmonkey-btn {
    background: linear-gradient(90deg, #B983FF 0%, #7F56D9 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-size: 1em;
    margin: 8px 0;
    box-shadow: 0 2px 8px 0 rgba(127, 86, 217, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    width: 100%;
}

.cloudmonkey-btn:hover {
    background: linear-gradient(90deg, #7F56D9 0%, #B983FF 100%);
    box-shadow: 0 4px 16px 0 rgba(127, 86, 217, 0.18);
}

.login-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #3B2F5A;
}

.login-links a {
    color: #B983FF;
    text-decoration: none;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #7F56D9;
}

.login-links .separator {
    color: #3B2F5A;
    margin: 0 10px;
}

/* Portal Styles */
.cloudmonkey-client-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cloudmonkey-portal-header {
    margin-bottom: 40px;
    text-align: center;
}

.cloudmonkey-portal-header h1 {
    font-size: 2.5em;
    font-weight: 800;
    color: #B983FF;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.cloudmonkey-portal-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 24px;
    border-bottom: 1px solid #2D2346;
}

.cloudmonkey-nav-btn {
    padding: 12px 32px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1em;
    color: #B5AEE4;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    transition: color 0.2s, background 0.2s;
}

.cloudmonkey-nav-btn.active,
.cloudmonkey-nav-btn:hover {
    color: #fff;
    background: linear-gradient(90deg, #B983FF 0%, #7F56D9 100%);
}

.cloudmonkey-tab-content {
    display: none;
    animation: fadeIn 0.4s;
}

.cloudmonkey-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cloudmonkey-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 30px;
}

.cloudmonkey-card {
    background: linear-gradient(135deg, #221A36 0%, #2D2346 100%);
    border: 1px solid #3B2F5A;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px 0 rgba(127, 86, 217, 0.08);
    color: #F3F3F7;
    margin-bottom: 24px;
}

.cloudmonkey-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #B983FF;
    font-size: 1.3em;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .cloudmonkey-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .cloudmonkey-card {
        padding: 20px 10px;
    }
}

@media (max-width: 600px) {
    .cloudmonkey-portal-header h1 {
        font-size: 1.5em;
    }
    .cloudmonkey-card {
        padding: 12px 4px;
    }
    .cloudmonkey-portal-nav {
        flex-direction: column;
        gap: 8px;
    }
    .cloudmonkey-nav-btn {
        width: 100%;
        text-align: center;
    }
    .cloudmonkey-login-box {
        padding: 30px 20px;
    }
    .cloudmonkey-login-box h2 {
        font-size: 1.5em;
    }
    .login-description {
        font-size: 1em;
    }
}

/* Project List Styles */
.cloudmonkey-project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cloudmonkey-project-list li {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cloudmonkey-project-list li:last-child {
    border-bottom: none;
}

.cloudmonkey-project-list h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.cloudmonkey-project-list p {
    margin: 5px 0;
    color: #666;
}

/* Progress Bar */
.cloudmonkey-progress {
    display: inline-block;
    padding: 2px 8px;
    background: #e0e0e0;
    border-radius: 10px;
    font-size: 0.9em;
    color: #666;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Message Styles */
.cloudmonkey-message {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cloudmonkey-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cloudmonkey-message-header h4 {
    margin: 0;
    color: #333;
}

.cloudmonkey-message-date {
    color: #666;
    font-size: 0.9em;
}

.cloudmonkey-message-body {
    color: #666;
    line-height: 1.5;
}

/* Document Styles */
.cloudmonkey-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cloudmonkey-document-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cloudmonkey-document-item:hover {
    transform: translateY(-2px);
}

.cloudmonkey-document-item i {
    font-size: 2em;
    color: #0073aa;
    margin-bottom: 10px;
}

.cloudmonkey-document-item h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.cloudmonkey-document-item p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* Loading States */
.cloudmonkey-loading {
    position: relative;
    min-height: 100px;
}

.cloudmonkey-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: cloudmonkey-spin 1s linear infinite;
}

@keyframes cloudmonkey-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Notifications */
.cloudmonkey-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: cloudmonkey-slide-in 0.3s ease-out;
}

.cloudmonkey-notification.success {
    background: #28a745;
}

.cloudmonkey-notification.error {
    background: #dc3545;
}

@keyframes cloudmonkey-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Mobile Navigation Styles */
.cloudmonkey-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 -1px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cloudmonkey-mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.cloudmonkey-mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94A3B8;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
}

.cloudmonkey-mobile-nav .nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.cloudmonkey-mobile-nav .nav-item span {
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cloudmonkey-mobile-nav .nav-item.active {
    color: #7C3AED;
    background: rgba(124, 58, 237, 0.1);
}

.cloudmonkey-mobile-nav .nav-item:hover {
    color: #7C3AED;
    transform: translateY(-2px);
}

/* Adjust main content for mobile nav */
.cloudmonkey-client-portal {
    padding-bottom: 90px;
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
    .cloudmonkey-mobile-nav {
        display: none;
    }

    .cloudmonkey-client-portal {
        padding-bottom: 20px;
    }
}

/* Show mobile nav on mobile devices */
@media (max-width: 768px) {
    .cloudmonkey-mobile-nav {
        display: flex;
    }
}

/* Add smooth transitions for tab content */
.cloudmonkey-tab-content {
    transition: opacity 0.3s ease;
    opacity: 0;
    display: none;
}

.cloudmonkey-tab-content.active {
    opacity: 1;
    display: block;
} 