/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 29 2026 | 07:51:24 */
/* EKN Intranet CSS */

/* Login wrapper */
.ekn-login-wrapper {
    max-width: 400px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ekn-login-wrapper h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.ekn-login-wrapper p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.ekn-login-wrapper form {
    margin-top: 20px;
}

.ekn-login-wrapper label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.ekn-login-wrapper input[type="text"],
.ekn-login-wrapper input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ekn-login-wrapper input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.ekn-login-wrapper input[type="submit"]:hover {
    background: #005a87;
}

.ekn-login-wrapper .login-remember {
    margin-bottom: 15px;
}

.ekn-login-wrapper .login-remember label {
    display: inline;
    font-weight: normal;
}

/* Main wrapper */
.ekn-intranet-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section styling */
.ekn-section {
    margin-bottom: 50px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ekn-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 24px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

/* Upload area - eristuv ja atraktiivne */
.ekn-upload-area {
    margin-bottom: 30px;
}

.ekn-dropzone {
    position: relative;
    border: 3px dashed #3498db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ekn-dropzone:hover {
    border-color: #2980b9;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.ekn-dropzone.ekn-dragover {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-style: solid;
}

.ekn-dropzone-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.ekn-dropzone-text p {
    margin: 0 0 20px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 500;
}

.ekn-file-input {
    display: none;
}

.ekn-upload-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.ekn-upload-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

.ekn-upload-status {
    margin-top: 15px;
    min-height: 30px;
    text-align: center;
}

.ekn-file-info-text {
    margin-top: 10px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
    font-style: italic;
}

.ekn-uploading {
    color: #3498db;
    font-weight: 500;
}

.ekn-success {
    color: #27ae60;
    font-weight: 500;
}

.ekn-error {
    color: #e74c3c;
    font-weight: 500;
}

/* Files table */
.ekn-files-list {
    margin-top: 20px;
}

.ekn-loading {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 40px 0;
}

.ekn-no-files {
    text-align: center;
    color: #95a5a6;
    padding: 40px 0;
    font-style: italic;
}

.ekn-file-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.ekn-file-table thead {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.ekn-file-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ekn-file-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.2s;
}

.ekn-file-table tbody tr:hover {
    background: #f8f9fa;
}

.ekn-file-table tbody tr:last-child {
    border-bottom: none;
}

.ekn-file-table td {
    padding: 15px 12px;
    color: #2c3e50;
    font-size: 14px;
}

.ekn-file-name {
    font-weight: 500;
    color: #34495e;
}

.ekn-file-actions {
    text-align: right;
    white-space: nowrap;
}

.ekn-btn-download,
.ekn-btn-delete {
    display: inline-block;
    padding: 8px 12px;
    margin-left: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    text-decoration: none;
}

.ekn-btn-download {
    background: #27ae60;
    color: #fff;
}

.ekn-btn-download:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.3);
}

.ekn-btn-delete {
    background: #e74c3c;
    color: #fff;
}

.ekn-btn-delete:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .ekn-intranet-wrapper {
        padding: 10px;
    }
    
    .ekn-section {
        padding: 20px 15px;
    }
    
    .ekn-dropzone {
        padding: 30px 15px;
    }
    
    .ekn-file-table {
        font-size: 12px;
    }
    
    .ekn-file-table th,
    .ekn-file-table td {
        padding: 10px 8px;
    }
    
    .ekn-btn-download,
    .ekn-btn-delete {
        padding: 6px 10px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    /* Väikestel ekraanidel kerime tabelit horisontaalselt */
    .ekn-files-list {
        overflow-x: auto;
    }
    
    .ekn-file-table {
        min-width: 600px;
    }
}

/* Progress bar */
.ekn-progress-wrapper {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.ekn-progress-info {
    margin-bottom: 10px;
    color: #495057;
    font-weight: 500;
    text-align: center;
}

.ekn-progress-bar-container {
    width: 100%;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.ekn-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    transition: width 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.ekn-progress-percent {
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
    color: #3498db;
    font-size: 14px;
}