﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Container card */
.memory-container {
    max-width: 1000px;
    margin: 20px auto;
    background: #f6f0fb;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Heading */
.memory-container h2 {
    text-align: center;
    color: #444;
    margin-bottom: 10px;
}

/* Subtitle */
.subtitle {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Labels */
label {
    display: block;
    margin-top: 15px;
    color: #560357;
    font-weight: 500;
}

/* Inputs */
.inpbox {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #b589db;
    font-size: 14px;
    transition: 0.2s;
}

/* Focus effect */
.inpbox:focus {
    border-color: #d8a7b1;
    outline: none;
    box-shadow: 0 0 5px rgba(216,167,177,0.3);
}

/* File inputs look cleaner */
.file {
    background: #fafafa;
    padding: 10px;
}

/* Notes */
.note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.small-note {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

/* Button */
.button2 {
    width: 100%;
    padding: 14px;
    background: #b589db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.button2:hover {
    background: #c48c99;
}

.submessage-box {
    display: block;          /* fills parent width */
    width: 90%;              /* almost full width on mobile */
    max-width: 500px;        /* limit on large screens */
    padding: 20px;           /* smaller padding for mobile */
    box-sizing: border-box;  /* include padding in width */
    background: #fff;
    border: 2px solid #9b3b9d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    margin: 0 auto;
}
.subflx {
	justify-content: center;  /* horizontal */
    align-items: center;      /* vertical */
    min-height: 100vh;        /* 👈 key: full screen height */
}
