* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
}

.container-fluid {
    padding: 0;
    height: 100vh;
}

.row {
    margin: 0;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    padding: 0;
    min-width: 80px;
    max-width: 80px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 25px;
    width: 100%;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    margin-bottom: 10px;
}

.logo {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
}

.dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
}

.font-dropdown {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
    padding: 8px 0;
}

.font-option {
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.font-option:hover {
    background-color: #f8f9fa;
}

.font-option:active,
.font-option.active {
    background-color: #e9ecef;
    color: #0d6efd;
    font-weight: 500;
}

.btn-control {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    color: #495057;
}

.btn-control:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-control:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-share {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.btn-share:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
}

/* Editor Styles */
.editor-container {
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.text-editor {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    resize: none;
    padding: 40px 60px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.text-editor::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.text-editor:focus {
    outline: none;
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

#shareUrl {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background-color: #f8f9fa;
}

#copyBtn {
    white-space: nowrap;
}

.alert {
    font-size: 14px;
    padding: 10px 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        min-width: 60px;
        max-width: 60px;
    }
    
    .logo {
        width: 45px;
    }
    
    .font-selector {
        font-size: 10px;
        padding: 6px 3px;
    }
    
    .btn-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .text-editor {
        padding: 20px 30px;
        font-size: 14px;
    }
}

/* Scrollbar Styles */
.text-editor::-webkit-scrollbar {
    width: 10px;
}

.text-editor::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.text-editor::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

.text-editor::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}