/* --------------------
   GLOBAL
-------------------- */
body {
    margin: 0;
    padding: 0;
    background: #EDF2F7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #363636;
}

/* --------------------
   LOGIN WRAPPER
-------------------- */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* --------------------
   CARD
-------------------- */
.login-card {
    background: #fff;
    padding: 40px 45px;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    text-align: center;
}

/* --------------------
   LOGO
-------------------- */
.login-card img.logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

/* --------------------
   TITLE
-------------------- */
.login-card h1 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* --------------------
   INPUTS
-------------------- */
.login-card input[type="email"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #CBD5E0;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

/* --------------------
   BUTTON
-------------------- */
.login-card button {
    width: 100%;
    padding: 12px;
    background: #C61E4A;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
}

.login-card button:hover {
    background: #a3173b;
}

/* --------------------
   ERROR MESSAGE
-------------------- */
.error {
    background: #FEE2E2;
    color: #B91C1C;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* --------------------
   FOOTER LINK
-------------------- */
.login-footer {
    margin-top: 15px;
    font-size: 14px;
}

.login-footer a {
    color: #C61E4A;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}





/* --------------------
   TOP BAR
-------------------- */
.topbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.topbar img.logo {
    height: 40px;
}

/* --------------------
   MENU
-------------------- */
.menu {
    margin-left: 30px;
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #363636;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
}

.menu a:hover {
    background: #EDF2F7;
}

/* --------------------
   MAIN CONTENT WRAPPER
-------------------- */
.main-wrapper {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --------------------
   CARD FOR TOOL CONTENT
-------------------- */
.tool-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.tool-card h1 {
    margin-top: 0;
    font-size: 26px;
    margin-bottom: 15px;
}

.tool-card p {
    font-size: 16px;
    line-height: 1.6;
}


/* ARTICLES */


.articles-submenu {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.submenu-item {
    padding: 8px 14px;
    background: #EDF2F7;
    border-radius: 6px;
    text-decoration: none;
    color: #363636;
    font-weight: 500;
}

.submenu-item.active {
    background: #C61E4A;
    color: white;
}

.submenu-item:hover {
    background: #C61E4A;
    color: white;
}

.add-idea-button {
    margin: 20px 0;
}

.btn-primary {
    padding: 10px 16px;
    background: #C61E4A;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #a2173b;
}

.rt-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rt-table th {
    background: #EDF2F7;
    text-align: left;
    padding: 10px;
}

.rt-table td {
    padding: 10px;
    border-bottom: 1px solid #E2E8F0;
}


.form-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    max-width: 600px;
}

.form-card label {
    font-weight: 600;
    display: block;
    margin: 15px 0 5px;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-size: 15px;
}

.error-box {
    background: #FEE2E2;
    padding: 12px;
    border-radius: 6px;
    color: #B91C1C;
    margin-bottom: 15px;
}

.rt-table select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #CBD5E0;
    background: #FFFFFF;
    font-size: 14px;
    color: #363636;
    font-family: inherit;
    height: 32px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rt-table select:hover {
    border-color: #A0AEC0;
    background: #FAFAFA;
}

.rt-table select:focus {
    outline: none;
    border-color: #C61E4A;
    box-shadow: 0 0 0 2px rgba(198, 30, 74, 0.25);
}

