/* Hostinger-inspired theme: primary #673DE6 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --hostinger-primary: #673DE6;
    --hostinger-primary-hover: #5a2fd4;
    --hostinger-primary-light: rgba(103, 61, 230, 0.12);
    --sidebar-bg: #2d2a3e;
    --sidebar-text: #ffffff;
    --right-panel-bg: #f5f5f9;
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(103, 61, 230, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    cursor: none;
}

#left-panel {
    width: 20%;
    min-width: 240px;
    background: linear-gradient(180deg, #2d2a3e 0%, #252235 100%);
    color: var(--sidebar-text);
    padding: 24px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06);
}

#tools-heading {
    color: var(--sidebar-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#tools-heading::before {
    content: '\2630';
    margin-right: 10px;
    font-size: 20px;
    opacity: 0.9;
}

#search-box {
    width: 100%;
    margin-bottom: 16px;
    padding: 10px 14px;
    box-sizing: border-box;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(103, 61, 230, 0.25);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#search-box:focus {
    outline: none;
    border-color: var(--hostinger-primary);
    box-shadow: 0 0 0 3px var(--hostinger-primary-light);
}

#search-box::placeholder {
    color: #9ca3af;
}

#button-container,
#add-button-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 100%;
    box-sizing: border-box;
}

#add-button-container {
    margin-bottom: 16px;
}

.button {
    background-color: var(--hostinger-primary);
    color: #fff;
    border: none;
    padding: 12px 14px 12px 48px;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.button::before {
    content: '\27FF';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.95;
}

.button:hover {
    background-color: var(--hostinger-primary-hover);
    box-shadow: 0 4px 12px rgba(103, 61, 230, 0.35);
}

.button:active {
    transform: scale(0.98);
}

#right-panel {
    width: 80%;
    background-color: var(--right-panel-bg);
    overflow: hidden;
    box-sizing: border-box;
}

#iframe-container {
    width: 100%;
    height: 100%;
    border: none;
}

a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    cursor: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
}

h2 {
    color: var(--sidebar-text);
    padding: 10px 14px 10px 37px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 12px 0;
    margin-left: -14px;
    box-shadow: 0 2px 8px rgba(103, 61, 230, 0.2);
    background: linear-gradient(90deg, var(--hostinger-primary) 0%, var(--hostinger-primary-hover) 100%);
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--hostinger-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    background-color: var(--hostinger-primary);
    mix-blend-mode: difference;
}

.cursor-expand {
    width: 30px;
    height: 30px;
    background-color: transparent;
}
