/* Shared styles for the DDVS Exámenes editor. */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h2 {
    margin-bottom: 20px;
}

.error {
    color: #dc3545;
    margin-bottom: 10px;
}

/* Login / menu pages (index.php, links.php) */
.menu-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: center;
}

.notice {
    color: #218838;
    margin-bottom: 10px;
}

.hint {
    color: #6c757d;
    font-size: 13px;
}

.menu-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.menu-button:hover {
    background-color: #0056b3;
}

.menu-button.google {
    background-color: #1a73e8;
}

.menu-button.google:hover {
    background-color: #1558b0;
}

.menu-button.logout {
    background-color: #6c757d;
}

.menu-button.logout:hover {
    background-color: #5a6268;
}

/* Editor pages (url-prim.php, url-sec.php) */
.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    text-align: center;
}

textarea {
    width: calc(100% - 20px);
    height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
}

.buttons {
    margin-top: 10px;
}

input[type="submit"],
.volver-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.volver-button {
    background-color: #dc3545;
}

input[type="submit"]:hover {
    background-color: #218838;
}

.volver-button:hover {
    background-color: #c82333;
}
