/* ----------------------------------------------
   PALETA OFICIAL
---------------------------------------------- */
:root {
    --dark: #2a0c31;
    --purple: #4e176c;
    --light-purple: #6d2a8a;
    --hover: #8b3ab5;

    --bg: #f5f1f7;
    --white: #ffffff;
    --text-dark: #2a0c31;
}

/* ----------------------------------------------
   LAYOUT BASE
---------------------------------------------- */
body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    display: flex;
}

/* ----------------------------------------------
   SIDEBAR
---------------------------------------------- */
.sidebar {
    width: 260px;
    background: var(--dark);
    height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
    color: var(--white);
    position: fixed;
    left: 0;
    top: 0;
}

.brand {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
}

.nav-links button {
    width: 100%;
    padding: 14px 20px;
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 10px;
    text-align: left;
    font-size: 15px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-links button:hover {
    background: var(--hover);
}

/* ----------------------------------------------
   MAIN / CONTENT
---------------------------------------------- */
.main {
    margin-left: 260px;
    padding: 40px;
    width: calc(100% - 260px);
}

.content-box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.10);
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ----------------------------------------------
   WELCOME BLOCK
---------------------------------------------- */
#welcome-block {
    display: flex;
    height: 100%;
}

.welcome-left {
    width: 50%;
    padding-right: 30px;
}

.welcome-left h1 {
    font-size: 42px;
    color: var(--purple);
    margin-bottom: 20px;
}

.welcome-left p {
    font-size: 19px;
    line-height: 1.5;
}

.welcome-right {
    width: 50%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

/* ----------------------------------------------
   IFRAME
---------------------------------------------- */
#dynamic-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* ----------------------------------------------
   FOOTER
---------------------------------------------- */
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 260px);
    padding: 15px;
    text-align: right;
    font-size: 14px;
    color: #775b86;
}
