body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Form Styles */
.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}
h2 { text-align: center; color: #333; margin-top: 0; }
p { text-align: center; color: #666; font-size: 14px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #444; }
.form-group input { width: 95%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
button { width: 100%; padding: 12px; background: #e67e22; border: none; color: white; font-size: 16px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
button:hover { background: #d35400; }

/* Kundali Chart Layout styles */
.kundali-container { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; }
.meta-info { text-align: left; margin-bottom: 20px; background: #f9f9f9; padding: 15px; border-left: 4px solid #e67e22; }
.meta-info p { text-align: left; margin: 5px 0; font-size: 15px; color: #333;}

.chart-wrapper { display: flex; justify-content: center; margin-top: 20px; }
.chart-box { width: 400px; height: 400px; border: 2px solid #555; position: relative; background: #fffdf5; }

/* Absolute positioning for houses in North Indian Layout Grid */
.house { position: absolute; z-index: 2; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.sign-num { font-weight: bold; color: #c0392b; font-size: 14px; }
.planets { font-size: 12px; color: #2c3e50; font-weight: 600; }

/* Custom House Coordinates mapping onto the drawing matrix */
.h1  { top: 100px; left: 180px; }
.h2  { top: 45px;  left: 95px;  }
.h3  { top: 45px;  left: 275px; }
.h4  { top: 100px; left: 45px;  }
.h5  { top: 185px; left: 95px;  }
.h6  { top: 275px; left: 45px;  }
.h7  { top: 270px; left: 180px; }
.h8  { top: 275px; left: 320px; }
.h9  { top: 185px; left: 275px; }
.h10 { top: 100px; left: 320px; }
.h11 { top: 135px; left: 180px; }
.h12 { top: 215px; left: 180px; }