/*
 * CCC Notes Management - Common Styles
 * 
 * This file contains shared styles used across multiple templates.
 * For template-specific styles, see the dedicated CSS files (e.g., notes.css, core-issues.css, wins.css).
 */

/* -----------------------------
 * Base Containers
 * ----------------------------- */
.ccc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* -----------------------------
 * Common Layout Helpers
 * ----------------------------- */
.center-text {
    text-align: center;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.full-width {
    width: 100%;
}

.hidden {
    display: none;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* -----------------------------
 * NO CUSTOM BUTTON STYLING
 * ----------------------------- */
/* ALL BUTTON STYLING COMES FROM CCC CORE - NO OVERRIDES */

/* -----------------------------
 * Common Form Elements 
 * ----------------------------- */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

/* Label formatting for consistent forms */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Common form inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Button container alignment */
.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* -----------------------------
 * Responsive Adjustments
 * ----------------------------- */
@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .button-container {
        justify-content: center;
    }
}

/* CCC Note Management - Global Styles */

/* Success/Error Message Styling - Removed: Now using CCC Core notification system */

/* Debug Info Styling */
.debug-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #f9f9f9;
}

.debug-info-warning {
    grid-column: 1/-1;
    padding: 20px;
    background-color: #fff9e0;
    border: 1px solid #e0d9c0;
    margin-bottom: 20px;
    border-radius: 5px;
}

.debug-info-warning ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* Modal Header Styling */
.modal-header-black .modal-close {
    color: black;
}

.modal-header-black h2 {
    color: black;
}

/* Hidden Elements */
.hidden {
    display: none;
}

/* Radio Group Hidden */
.radio-group-hidden {
    display: none;
}

/* Note Content Hidden */
.note-content-hidden {
    display: none;
}

/* Disabled Button Styling */
.button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading Indicator */
.loading-indicator-center {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.ccc-loader-center {
    margin: 0 auto 15px;
}

/* Error Text Styling */
.error-text {
    color: red;
}

/* Summarize Spinner Hidden */
.summarize-spinner-hidden {
    display: none;
}

/* Achievement Date Field Hidden */
.achievement-date-hidden {
    display: none;
}
