﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0px;
    background: #FFFFFF;
    min-height: 100vh;
    color: #333;
}

.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;
}

.header {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.login-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.login-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.content {
    padding: 0px;
}

.editable-section {
    margin-bottom: 0px;
    padding: 0px;
/*    border-radius: 0px;
    background: #f8f9fa; */
  /*   border-left: 0px solid #2196F3; */
}

.editable-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: red;
    font-size: 28px;
    font-weight: bold;
    
}

.editable-section #mainDescription {
    font-size: 20px;
    color: #000000;
    font-weight: bold;

}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.admin-panel {
    display: none;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #2196F3;
}

.admin-panel h3 {
    margin-top: 0;
    color: #1976d2;
}

.logout-btn {
    background: linear-gradient(45deg, #f44336, #e91e63);
    margin-left: 10px;
}

.status {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    display: none;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: #666;
}

/* ResponzivnĂ­ design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
    }
    
    .header {
        padding: 20px;
    }
    
    .content {
        padding: 20px;
    }
    
    .login-btn {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 20% auto;
    }
}