/* 
    Created on : 23.04.25
    Author     : kohberg
*/

/* 
###############################################
styles for desktop devices 
###############################################
*/

body {
    font-family: Verdana;
    font-size: 1.4em; 
}

.small {
    font-size: 0.7em;
    /*padding: 2px;*/
}

.small-purple {
    font-size: 0.5em;
    color: purple;
    /*padding: 2px;*/
}

.grau {
    color: darkgrey;
    /*padding: 2px;*/
}

/* navigation ..................................................................*/

.navitop {
    background-color: #f5f5f5;
    padding: 12px 20px;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
}

.navitop a {
    text-decoration: none;
    color: #06a0a2;
    margin-right: 10px;
}

.navitop a:hover {
    text-decoration: none;
    color: #fc7803;
    
}


.edit-form label, .edit-form input, .edit-form textarea, .edit-form email, .edit-form select, .edit-form button {
    font-size: 0.8em;
    width: 100%;
    box-sizing: border-box;
}

.container {
    width: 70%;
    font-size: 0.8em;
}
.page-title {
    margin-bottom: 0.3em;
    color: #333;
}

.event-card {
    border-left: 8px solid transparent; /* wird überschrieben */
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 0.9em;
}

.event-card-warn {
    border-left: 8px solid transparent; /* wird überschrieben */
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #f6ff00;
    border-radius: 6px;
    font-size: 0.9em;
}

.event-card-lock {
    border-left: 8px solid transparent; /* wird überschrieben */
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #ffd500;
    border-radius: 6px;
    font-size: 0.9em;
}

.event-datum {
    /*padding-bottom: 3px;*/
    
}

.pre {
    font-size: 1.2em;
    font-weight: light;
    font-family: monospace;
    white-space: pre-wrap; /* Damit lange Texte umgebrochen werden */
    word-wrap: break-word;
}


/* Participate ......................................................................*/
.participate-container {
    width: 60%;
    padding: 5px;
    margin: 5px;
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.7em; /* für lesbaren Gesamteindruck */
}

.participate-link {
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.participate-link:hover {
    text-decoration: underline;
}



/* Overview .................................................................*/

.overview-container {
    font-size: 0.8em;
}


/* Formularbereich */
.event-form {
    margin: 20px;
    padding: 15px;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.event-form h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

/* Event-Liste */
.event-list {
    margin: 20px;
}

.event-table {
    width: 100%;
    border-collapse: collapse;
}

.event-table .event-row {
    border-bottom: 1px solid #ddd;
}

.event-table td {
    padding: 10px;
}

.event-date {
    /*width: 120px;*/
    font-weight: bold;
}

.event-name {
    width: 30%;
}

table.event-table td.event-infosmall {
    font-size: 0.5em;
}

.thanks-container {
    font-size: 0.7em;
    padding: 30px;
    text-align: center;
}

.thanks-heading {
    font-size: 1.1em;
}
.readonly {
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 0.5em;
}
.readonly-light {
    font-weight: lighter;
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 0.5em;
}

.edit-form label, 
.edit-form input, 
.edit-form textarea, 
.edit-form email, 
.edit-form select, 
.edit-form button {
    font-size: 1.1em;
    font-family: Arial, sans-serif; 
    width: 100%;
    box-sizing: border-box;
}


.participants-list {
    padding-left: 20px;
    font-size: 0.8em;
}


/*  Login box */
.login-box {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.error-msg {
    color: red;
    font-weight: bold;
    background-color: whitesmoke;
    padding: 10px;
    border: 2px solid red;
    border-radius: 5px;
    margin-bottom: 10px;
}

.success-message {
    color: purple;
    font-weight: bold;
    background-color: whitesmoke;
    padding: 10px;
    border: 1px solid purple;
    border-radius: 5px;
    margin-bottom: 10px;
    animation: fadeOut 4s ease-in-out forwards;
}


@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

/* footer ....................................................................*/
.footer {
    font-size: 0.5em;
    display: flex; 
    /*justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    font-size: 0.8em; 
    padding: 5px 10px;*/
}

.about {
    margin-left: auto;
    text-decoration: none; 
    font-weight: bold;
}

.about a {
    margin-left: auto;
    text-decoration: none; 
    font-weight: bold;
}



/*  colors ..................................................................*/
.green-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 3px;
    background-color: whitesmoke;
    border-bottom: 1px solid #06a0a2;
    color: #06a0a2;
}

.orange-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 3px;
    background-color: whitesmoke;
    border-bottom: 1px solid #fc7803;
    color: #fc7803;
}

.red-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 3px;
    background-color: whitesmoke;
    border-bottom: 1px solid red;
    color: red;
}

.btn-green {
    font-size: 1.2em;
    padding: 5px;
    background-color: whitesmoke;
    color: #06a0a2;
    border: 1px solid #06a0a2;
    border-radius: 5px;
}

.btn-green:hover {
    background-color: whitesmoke;
    color: #04848a;
    border: 1px solid #04848a;
    cursor: pointer;
}

.btn-orange {
    font-size: 1.2em;
    padding: 5px;
    background-color: whitesmoke;
    color: #fc7803;
    border: 1px solid #fc7803;
    border-radius: 5px;
}

.btn-orange:hover {
    background-color: whitesmoke;
    color: #eca600;
    border: 1px solid #eca600 ;
    cursor: pointer;
}

.btn-red {
    font-size: 1.2em;
    padding: 5px;
    background-color: whitesmoke;
    color: red;
    border: 1px solid red;
    border-radius: 5px;
}

.btn-red-small {
    display: inline-block !important;
    width: auto !important;
    background-color: whitesmoke;
    color: red;
    border: 1px solid red;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-left: 10px;
    cursor: pointer;
}

.btn-red-small:hover {
    background-color: darkslategray;
}

.btn-green-small {
    display: inline-block !important;
    width: auto !important;
    background-color: whitesmoke;
    color: green;
    border: 1px solid green;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-left: 10px;
    cursor: pointer;
}


.warning {
    font-size: 1.2em;
    border: 2px solid #fc7803;
    margin-bottom: 8px;
    padding: 3px;
    background-color: whitesmoke;
}

.warning a {
    font-size: 1.0em;
    color: #fc7803;
    text-decoration: none; 
}

.hint-text {
    margin-top: 4px;
    font-size: 1.0em;
    font-weight: lighter;
}

/*.......  week heading ......................................................*/
.week-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}
.week-heading {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #444;
    font-weight: bold;
}
.week-header {
    margin-top: 20px;
    /*margin-bottom: 10px;*/
}

.week-line {
    height: 8px;
    /*background-color: #ccc;*/
    margin-bottom: 5px;
    border-radius: 2px;
}


/*..........  locked box ..........................................*/
.locked-box {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 1em;
    margin-bottom: 1em;
    color: #555;
    /*font-style: italic;*/
}

.event-locked {
    background-color: #f5f5f5;
    color: #999;
}

.event-locked .event-name::before {
    content: "🔒 ";
    color: #d00;
}