/* ফাইল: assets/css/style.css */

/* ==========================================
   Global & Color Variables (লাল-নীল-সবুজ-পিঙ্ক-কালো-সাদা)
   ========================================== */
:root {
    --color-red: #FF4B4B;
    --color-blue: #3B82F6;
    --color-green: #10B981;
    --color-pink: #EC4899;
    --color-black: #1F2937;
    --color-white: #FFFFFF;
    --bg-color: #F3F4F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================
   App-like Card Layout
   ========================================== */
.app-container {
    width: 100%;
    max-width: 500px; /* Mobile Friendly Max Width */
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    border-top: 4px solid var(--color-pink); /* পিঙ্ক কালারের বর্ডার হাইলাইট */
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-black);
    text-align: center;
}

/* ==========================================
   Forms and Buttons
   ========================================== */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-white);
}

.btn-blue { background-color: var(--color-blue); }
.btn-blue:hover { background-color: #2563EB; }

.btn-green { background-color: var(--color-green); }
.btn-red { background-color: var(--color-red); }
.btn-pink { background-color: var(--color-pink); }
.btn-black { background-color: var(--color-black); }

/* ==========================================
   Custom Modal UI (ব্রাউজার ডিফল্ট অ্যালার্টের বিকল্প)
   ========================================== */
.custom-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(31, 41, 55, 0.7); /* Black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background: var(--color-white);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.custom-modal-overlay.active .custom-modal-box {
    transform: translateY(0);
}

.custom-modal-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-modal-message {
    font-size: 1rem;
    color: #4B5563;
    margin-bottom: 20px;
}

.custom-modal-buttons {
    display: flex;
    gap: 10px;
}

.custom-modal-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: none; /* Only visible for prompt */
}