/* --------------------------------------------------
   ajst1.css – AJST1 template for SkyForm
   Blue tones, clean professional look.
   Fonts: Roboto Condensed (headings), Roboto (body)
-------------------------------------------------- */

body {
    background: #f0f4f8;
    color: #1a2a3a;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: auto;
    background: #ffffff;
    border: 1px solid #b0c4de;
    border-radius: 10px;
    padding: 30px 35px;
    box-shadow: 0 4px 16px rgba(0, 85, 153, 0.08);
}

h1, h2, h3 {
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
    color: #005599;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.2em;
    margin: 0 0 5px 0;
}

h2 {
    font-size: 1.4em;
    margin-top: 25px;
    border-bottom: 2px solid #c0d4e8;
    padding-bottom: 5px;
    color: #003d66;
}

h3 {
    font-size: 1.15em;
    color: #0066aa;
    margin-top: 20px;
}

.subtitle {
    text-align: center;
    font-size: 0.9em;
    color: #556677;
    margin-bottom: 25px;
}

/* En-tête avec logo */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.logo {
    height: 12em;                /* aligné avec la hauteur du titre */
    width: auto;
}

/* Tableaux généraux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.95em;
}

th, td {
    border: 1px solid #d0dbe8;
    padding: 6px 10px;
}

th {
    background: #e6eff7;
    color: #003d66;
    font-weight: 600;
}

/* --- Boîte Soleil --- */
.sun-box {
    background: #f8fafd;
    border: 1px solid #b0cce4;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}

.sun-header {
    text-align: center;
    border-bottom: 1px dashed #b0cce4;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.sun-columns {
    display: flex;
    justify-content: space-around;
}

.sun-col {
    flex: 1;
    padding: 8px;
}

.sun-table td {
    border: none;
    border-bottom: 1px dotted #d0dbe8;
    padding: 4px 8px;
}

.sun-notes {
    text-align: center;
    margin-top: 12px;
    border-top: 1px dashed #b0cce4;
    padding-top: 10px;
    font-style: italic;
}

/* --- Lune --- */
.moon-layout {
    border: none;
}

.moon-img-cell {
    width: 140px;
    vertical-align: top;
    padding: 10px;
    text-align: center;
}

.moon-info-cell {
    vertical-align: top;
    padding: 10px;
}

.moon-img {
    max-width: 130px;
    border: 1px solid #c0d4e8;
    border-radius: 50%;
    background: #fff;
}

/* --- Planètes inférieures --- */
.inferior-planets-table {
    border: none;
}

.inferior-planet-cell {
    vertical-align: top;
    width: 50%;
    padding: 8px;
}

/* --- Planètes supérieures --- */
.superior-planet {
    background: #f5f8fc;
    border: 1px solid #c0d4e8;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 12px 0;
}

.superior-header {
    font-weight: 600;
    color: #005599;
    border-bottom: 1px solid #c0d4e8;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.superior-columns {
    display: flex;
    justify-content: space-between;
}

.superior-col-left,
.superior-col-right {
    flex: 1;
    padding: 5px 10px;
}

.superior-col-left p,
.superior-col-right p {
    margin: 4px 0;
}

.superior-col-right ul {
    margin: 4px 0 4px 20px;
    padding: 0;
}

.superior-footer {
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px dashed #c0d4e8;
    text-align: center;
    font-size: 0.95em;
}

.planet-card {
    background: #ffffff;
    border: 1px solid #d0dbe8;
    border-radius: 5px;
    padding: 10px;
}

/* --- Pied de page --- */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85em;
    color: #667788;
    border-top: 1px solid #d0dbe8;
    padding-top: 15px;
}