* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    height: 100vh;
    display: flex;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.panel-left {
    width: 40%;
    background-color: #1e293b;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #334155;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #38bdf8;
}

.subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 15px;
}

#prompt-input {
    flex-grow: 1;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #f8fafc;
    padding: 15px;
    font-size: 16px;
    resize: none;
    outline: none;
    margin-bottom: 20px;
}

#prompt-input:focus {
    border-color: #38bdf8;
}

#generate-btn {
    background-color: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

#generate-btn:hover {
    background-color: #7dd3fc;
}

.panel-right {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#copy-btn {
    background-color: #334155;
    color: #f8fafc;
    border: 1px solid #475569;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

#copy-btn:hover {
    background-color: #475569;
}

.preview-area {
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

#preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #ffffff;
}
