.editor-container {
    max-width: 100%;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: calc(100vh - 90px);
    display: flex;
}

.editor-left {
    width: 35%;
    background: rgba(22, 33, 62, 0.92);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editor-left h2 {
    font-size: 58px;
    color: #e2b96f;
    margin-bottom: 15px;
}

.subtitle {
    color: #ddd;
    margin-bottom: 40px;
    line-height: 1.6;
}

.editor-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.option-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(226, 185, 111, 0.15);
    border-radius: 14px;
    padding: 20px;
}

.option-card h3 {
    color: #e2b96f;
    margin-bottom: 12px;
}

.option-card select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #101728;
    color: white;
    font-size: 15px;
}

.editor-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.editor-buttons button {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    background: #e2b96f;
    color: #111;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.editor-buttons button:hover {
    transform: scale(1.05);
}

.editor-right {
    width: 65%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-preview {
    width: 620px;
    height: 620px;
    background: rgba(22, 33, 62, 0.85);
    border: 5px solid #e2b96f;
    border-radius: 20px;
    display: grid;
    padding: 10px;
    gap: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.cell {
    background: #243b67;

    border-radius: 6px;

    transition: 0.2s;

    cursor: pointer;
}

.cell:hover {
    transform: scale(1.05);
}

input[type="color"] {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}


.custom-modal {
    background-color: #16223f;
    border: 2px solid #3a4b7c;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: center;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}


.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #617398;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}


.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #f3c677;
    margin: 0;
    text-shadow: 0 0 15px rgba(243, 198, 119, 0.4);
}

.modal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #3a4b7c, transparent);
    margin: 20px 0;
}

.modal-body p {
    font-size: 1.1rem;
    color: #b9c7e2;
    margin: 10px 0;
}

.modal-link-box {
    background-color: #0f1932;
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #3a4b7c;
    word-break: break-all;
    margin: 15px 0;
    user-select: all;
}

.modal-link-text {
    color: #f3c677;
    font-weight: bold;
    font-family: monospace;
    font-size: 0.95rem;
}

.modal-btn {
    background-color: #e5b567;
    color: #121b2d;
    border: none;
    border-radius: 8px;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    margin-top: 15px;
    min-width: 140px;
}

.modal-btn:hover {
    background-color: #f3c677;
    transform: scale(1.03);
}

.modal-btn.copied {
    background-color: #2e8b57;
    color: #ffffff;
}